Unit 5 - Compiles And Run Program

Posted on Saturday, May 8, 2010 by B[H] | 0 comments
Labels:

To run a C++ program, we must first create it, then compile it, then link it with other modules ( or other compiled programs), and finally run it. You can create a C++ program using the C++ editor. The editor is like a word processor that allows you to
type, edit and save your program. The program you create is called the source module.


After you have created the source program, you compiled it using the C++ compiler. The compiler translates your C++ instructions into a machine-readable form. The compiled program is called the object module.
Besides compiling the source module into an object module, the compiler also generates information necessary for linker. The linker links the object module generated by the compiler and any other object modules, your program may request into a final executable module.


Photobucket

No comments:

Post a Comment