Tuesday, October 23, 2012

How to printf Hello World !

Name: Chea Lida
Major: TMD

#include <stdio.h> //stdio.h is the name of library that include printf and scanf function
#include <stdlib.h>  //stdlib.h is the name of  library that include system ("pause") function
int main(void) // Function who shall there is on each program c
{
        printf("Hello World!\n"); //use for send output to screen
        system("pause"); //to pause a program and wait for a keyboard input to continue.

}


http://www.youtube.com/watch?v=wlZLO3juiZ8&feature=youtu.be

No comments:

Post a Comment