C LANGUAGE BASICS|Compiling The Program|#7|

by - October 13, 2018

Compiling The Program|#7|

C LANGUAGE BASICS|Compiling The Program|#7|


Compiling The Program
To Complete a program ,the program written in the edit window is first saved in a file on the disk.Similarly,a source program saved on the disk is first loaded in the edit window .The Source code is then compiled by selecting Compile|Compile from the menu bar of the Turbo C++ IDE.The Keyword Alt+F9 can also be used to compile a program currently in the editor window of the IDE.
If there is no error in the source program,it is compiled and its object file is created.The Object file has the same file name in which the source program is saved.However ,object file has.obj extension.
If There is a syntax error in the source program ,the program is not compiled.All error messsages are described at the bottom of the IDE in the message window. All errors must be removed.A source program is compiled only when it does not contain any syntax error

0 comments