Pages

Thursday, December 22, 2011

C Language

First step in learning a language is to print a Hello World program, which we had also done ..

to print that you need to include a library

after that you have to state the main function

and inside that you'll write a print f command to say hello world......

#include
int main()
{
printf("Hello World");
return 0;
}



that is the code for the Hello World program ,
write the program and compile it with a good compiler or IDE,
here's a good C compiler
http://bellard.org/tcc/

No comments:

Post a Comment