Hot answers tagged

3 votes
Accepted

hello.c when I want to run it says:No such file or directory

I suppose this is your hello-world program #include <stdio.h> int main(void) { printf("hello, world\n"); return 0; } which is SAVED as hello.c in your Dropbox folder. Use the ...
user avatar
  • 3,316
1 vote
Accepted

Why does my re-submission of a project from 2019 get a lower score in 2020?

Maybe it doesn't exactly match the spec any longer? Maybe a different test data set revealed another problem? Maybe you lost more points because they're now also checking style and grading it? ...
user avatar
  • 63.1k
1 vote
Accepted

Week 1 - Hello (I do not have place to write the code)

Create new file with name "hello.c" or it is already given with + tab in sandbox. LINK for problem sets: Problem set 1
user avatar
1 vote

pset6 hello, python3: can't open file 'hello.py': [Errno 2] No such file or directory

Go to the CS50 IDE menu and choose Preferences Scroll down to Python Support Make sure that Python Version is set to Python3
user avatar
  • 18.3k
1 vote
Accepted

compile error on "hello, world" program

Turned out to (possibly) be a glitch in the IDE. For whatever reason, the file didn't save, so there was no main function - in fact, no code at all. Whatever the cause, it's fixed. If this answers ...
user avatar
  • 63.1k
1 vote

PSET1: Can't check hello.c

Just check50 cs50/2018/x/hello, without mentioning hello.c (as it used to be years ago). The checker will get a list of files to upload. https://docs.cs50.net/2018/x/psets/1/hello/hello.html#code-...
user avatar
  • 20.7k
1 vote
Accepted

cannot 'make hello'. Get Error 1

Did you remember to save your file with the latest changes before trying to build the executable? The red dot on the tab for the source code in the first image means that it hasn't been saved. Also, ...
user avatar
  • 63.1k
1 vote
Accepted

pset6: requesting php from within html isn't working

Since those are the only two tests that fail check50, redirect your attention to how query is built in parse. Since hello.php "works fine", verify that query is properly null-terminated. A helpful ...
user avatar
1 vote

pset1: Can't compile my file to start coding [please look at strange error message below]

It's not an error message, it's the command that it's executed by make. make is not a compiler by itself, but it calls a compiler, and passes all the relative flags you are probably going to need, so ...
user avatar
  • 7,326

Only top scored, non community-wiki answers of a minimum length are eligible