Flowchart for Creating A Source File, Compiling, Linking and Executing in C++
The following steps are necessary for execution of a program in C++.
- Write the code for a program and save it
- Compile the program with a compiler
- Link the program with library functions
- Run the program.
A flowchart for implementing the aforesaid steps is given in Figure.
Flowchart for creating a C++ program, compiling and linking
The process of compiling, linking and running a program in C++ is elaborated in the following section.