-1

Here is the cs50 hello.c file as is. Why wont it compile?

#include <cs50.h>
#include <stdio.h>

int main(void)
{
   printf("hello, world\n");
}
  • what was the command that you used to compile it? – Cliff B Jun 13 '18 at 19:24
  • I was using make hello – Dustin Jun 13 '18 at 19:27
  • Can you please post a screen shot of your IDE showing what happens? – Cliff B Jun 13 '18 at 19:57
  • Did you save your file before trying to compile? – curiouskiwi Jun 13 '18 at 22:42
  • yes.. everything seems fine. – Dustin Jun 14 '18 at 0:51
0

I was in the wrong directory. I'm learning slowly.

| improve this answer | |
  • Great. Can you please accept the answer now? thanks. – Cliff B Jun 19 '18 at 7:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .