Wednesday, February 20, 2008

STEPS TO CREATE AND EXECUTE A NEW PROGRAM

STEPS TO CREATE AND EXECUTE A NEW PROGRAM :

The steps consists of four steps

* Creating a source file
* Compiling the source file or creating an .obj file
* Building or linking or creating an exe file.
* Executing the exe file.


CREATING A SOURCE FILE:

* Click on the Start and select Programs and then select the option VC++.

* As soon as new window opens Click on the FILE option and click on theNEW option.

* Select the PROJECTS tab and select Win32 Application and enter a project name.

* Click on ok.
* Click on the FILE option and click on the NEW option.
* Select the FILE tab and Click the option TEXT FILE, then enter the file name and click on ok.
* Save the .txt file with an extension of .c
* Right click on the file and select on the option insert file into project and click the project name.
* Write down the code and save it.

No comments: