first, the simple development process
(1) define the problem to be solved;
Clearly define the problem to be solved, such as the specific implementation of what Functions.
(2) designing methods to solve problems;
What are the characteristics of a good method:
1. The method is clear;
2. normalization; (has been verified)
3. Strong modularity, easy to modify and maintain;
4. Strong Program robustness;
(3) design procedures to implement the above methods;
Note: syntax, fonts, file naming, and so On.
(4) Compile code;
g++-C file1.cpp file2.cpp File3.cpp produces file1.o file2.o file3.o;c indicates that only. o files are generated;
(5) the intermediate files generated by the link;
g++-o prog file1.o file2.o file3.o-o generate executable file; compile and link: g+ o prog file1.cpp file2.cpp file3.cpp
(6) Testing and Commissioning procedures;
C + + Trivia point 2: about development