![]() The Compilation Process can be summarized using the below diagram. In the end, the program will be executed successfully. ![]() Linking: The libraries and external functions used by the program are linked to the object file in the linking process.Compile: The preprocessed file is then compiled to generate an object file with an extension “.o”.Similarly, macros or inline functions are preprocessed and their code is replaced at a place where they are called. Preprocessing: Here the include files referenced by the source CPP file are used and the code is replaced in the source files.The compilation of the C++ program includes 3 steps: Apart from this, external libraries or files are linked to C++ program using the directive. A C++ program consists of a header file (.h) and a source file (.cpp).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |