These programs are, in their order of appearance: Three programs are used to translate your source code into an executable file that the computer can run. Computers don’t understand C++ or any other programming language. While you now understand “My First C++ Program” code, the computer won’t. This is often referred to as mixed-language programming. Program routines can be created in other languages and compiled into object modules and then later linked with object modules created with C++. The second item of interest is the assembly code file and assembler step shown at the bottom. These are #include, #ifndef, #define, and #endif. These special preprocessor instructions are called preprocessor directives. The C++ preprocessor acts upon special instructions that can be contained in the C++ source code. First, C++ adds a preprocessing step to the program creation process. Two interesting points to note in figure above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |