編程過程:
1.編輯:使用任何文字編輯器編寫原始碼檔案,並儲存為純文字檔案。
linux: vi、vim、ed、ex、emacs、gedit
dos:edlin、edit
windows:notepad、Ultraedit
原始碼副檔名:
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、cc
Metrowerks CodeWarrior: cp、cpp、cc、cxx、c++
2.編譯:將原始碼翻譯成機器語言產生目標代碼檔案。
當前流行編譯器:
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.連結:將目標代碼同標準的啟動程式碼群組合產生可執行代碼檔案。
整合式開發環境IDE:integrated development environments,管理程式開發的所有步驟。
c++IDE編程環境:
DOS平台:
Turbo C++ 1.01
DJGPP
windows平台:
1. DEV C++ vision 4.9.9.2
2. codeblocks vison 8.02 for windows
3. Microsoft Visual Studio (Visual C++ 6.0)
4. Visual Studio.net 2002
5. Visual Studio.net 2003
6. Visual Studio.net 2005
7. Visual Studio.net 2008
8. Borland C++ Builder 6
9. Borland C++ Builder X
10. Eclipse C++ Development Tooling
11. KDevelop
12. Anjuta DevStudio
linux平台:
1. Emacs + GCC
2. RHIDE
3. XWPE
4. gIDE
5. Eclipse
6. Code::Blocks
7. Anjuta
8. slickedit
9. VIM+GCC
跨平台:
1. wxstudio
2. Eclipse
3. Code::Blocks
建議新人:
DOS: Turbo C++
Windows: DEV C++
Linux: VIM+GCC/gvim+gcc/emacs+gdb