Thursday, 7 February 2013

A first simple program in c


Step 1:
    If you are using windows 7, please install the C-Free software to work with 'c' language.

[Note: C-Free is a professional C/C++ integrated development environment (IDE) that support multi-compilers.

Step 2:
Step 3:
Install the IDE and select File->New.






Step 4:
   Type the program.
   A simple program is given here.
Coding:
#include<stdio.h>
main()
{
    printf("\n\n HELLO WORLD \n");
}


Step 5:
  Save the file as hello.c.

Step 6:
Compile and run your simple program. Click Makes and Run button to do this.


Step 7:
  Your output will be:

Now you have learnt a very simple program in C language.


  

No comments:

Post a Comment