Programming process:
1. Edit: Use any text editor to write source code files and save them as plain text files.
Linux: VI, Vim, Ed, ex, emacs, gedit
DoS: edlin, Edit
Windows: notepad, ultraedit
Source code file extension:
UNIX: C, CC, cxx, c
Gnu c ++: C, CC, cxx, CPP, C ++
Digital Mars: CPP, cxx
Borland C ++: CPP
Watcom: CPP
Microsoft Visual C ++: CPP, cxx, and CC
Metrowerks codewarrior: CP, CPP, CC, cxx, C ++
2. Compile: translate the source code into a machine language to generate the target code file.
Popular compilers:
GNU gcc Compiler
Microsoft Visual C ++ toolkit 2003
Microsoft Visual C ++ 2005/2008
Borland C ++ Compiler (5.5, 5.82)
Digital Mars Compiler
Openwatcom (W32) compiler
GNU gcc compiler for MSP430
Cygwin gcc
Intel C/C ++ Compiler
Sdcc Compiler
Tiny C Compiler
Gdc d Compiler
Digital Mars D Compiler
GNU arm GCC compiler
Gnu avr gcc compiler
GNU gcc compiler for PowerPC
GNU gcc compiler for tricore
3. Link: Combine the target code with the standard startup code group to generate an executable code file.
Integrated Development Environment ide: integrated development environment environments, manages all steps of program development.
C ++ ide programming environment:
DOS platform:
Turbo C +++ 1.01
Djgpp
Windows:
1. Dev C ++ vision 4.9.2
2. codeblocks vison 8.02 for Windows
3. Microsoft Visual Studio (Visual C + + 6.0)
4. Visual studi.net 2002
5. Visual studi.net 2003
6. Visual studi.net 2005
7. Visual studi.net 2008
8. Borland C ++ Builder 6
9. Borland C ++ builder x
10. Eclipse C ++ development tooling
11. kdevelop
12. anjuta devstudio
Linux platform:
1. emacs + gcc
2. rhide
3. xwpe
4. Gide
5. Eclipse
6. Code: Blocks
7. anjuta
8. slickedit
9. VIM + gcc
Cross-platform:
1. wxstudio
2. Eclipse
3. Code: Blocks
New users recommended:
DoS: Turbo C ++
Windows: Dev C ++
Linux: VIM + gcc/gvim + gcc/Emacs + GDB