2 votes
Accepted

Hello world error

First of all, welcome to CS50! :) To add to NullityNull's good advice, it looks to me like you probably have more than one copy of hello.c, probably in different directories. The one you are trying ...
user avatar
  • 3,035
2 votes

Hello world error

First, make sure you are in the same directory that the program is in and you can check if so by typing 'ls' into the console. Another thing to do is make sure you named the file 'hello.c'. that ...
user avatar
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 ./...
user avatar
  • 5,172

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