Jump to content

need help with C


5 posts in this topic

Recommended Posts

i have next to no expiriance in programming so i could really use some help here...

 

i typed in the hello world program to Xcode

 

#include <stdio.h>

int main(void)

{

printf("Hello world!");

return 0;

}

 

that...

 

and then i compiled using terminal ( cc -c hello.c)

 

and i got hello.o

 

which seemed fine - but then how do i execute the file from there?

Link to comment
Share on other sites

 Share

×
×
  • Create New...