Tuesday, September 21, 2010

Hello World in C

Learning any programming language starts by printing "Hello World!" to the console. So, here is the first program,


Create a file with the name of "hello.c"

/*My First Program*/
#include

void main(){
printf("Hello World!");
}


Compile it, and Run it! I will be posting details on how to compile and run the programs on different environments.