Hot answers tagged

2 votes
Accepted

Problem Set 1 help, clang hello.c, and ls (list)

Ahh I figured it out! Instead of using ~/pset1/hello/ $ go back to just the directory pset by using change directory ~/pset1/hello/ $ cd ~/pset1/ then add your ls command ~/pset1/ $ ls hello/ ...
Georgia van der Zalm's user avatar
1 vote
Accepted

cs50 ide problem

to execute the program, it's dot-slash, not slash-dot. If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)
Cliff B's user avatar
  • 68.4k
1 vote
Accepted

Says that ./hello is a directory and error code when say clang -0 hello hello.c

Problem with your ./hello not working is that there is no hello program to run. There's a folder called hello in that location not a program. And about error in make CAN YOU SHARE THE ERROR CODE OR ...
Aftab Ansari's user avatar
1 vote
Accepted

PSET1 clang hello.c

Without seeing your code, no. But it's almost certain that you have a syntax error. Perhaps you put a semicolon on the end of the line int main(void), or something like that. Take a close look at ...
Cliff B's user avatar
  • 68.4k
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-...
Blauelf's user avatar
  • 20.9k
1 vote

hello.c wont compile - Nothing to be done

The command is make hello, not make hello.c. If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)
Cliff B's user avatar
  • 68.4k
1 vote
Accepted

Having problems when i run hello.c

you are not in the correct directory, you must move to .c9 doing: cd .c9 your terminal should look similar to ~/workspace/.c9/ $ then you can do: make hello and then run the program with ./...
MARS's user avatar
  • 5,169
1 vote
Accepted

How to solve this cs50 grading issue?

according to my experience it takes a maximum of 2 weeks to get your pset submission graded. usually it is graded much faster. If you've been waiting for more than 2 weeks though,if you continue to ...
MARS's user avatar
  • 5,169
1 vote

Pset1 Problem with hello.c

Are you working in the online IDE or in one of the downloaded environments like VMware? If you are working in VMware, the license expires at the end of the year, in a few days. It also raises ...
Cliff B's user avatar
  • 68.4k

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