C++概觀和Visual C++簡介 C++ Primer中文版 Chap 1 Chap 2 C++概觀和Visual C++簡介 1
C/C++程式語言簡介 n C語言 n n 以程序為基礎的程式設計(Procedural-Based Programming) C++語言 n n n 延伸自C語言. 以物件為基礎的程式設計(Object-Based Programming) 物件導向程式設計(Object-Oriented Programming) C++概觀和Visual C++簡介 2
Hello World (1) n 程式碼: #include<iostream. h> void main() { cout<<"Hello World. n"; } n 執行結果: Hello World. C++概觀和Visual C++簡介 3
目前最普遍的C++編譯器 n Visual C++ (6. 0 with Service Pack 3) n n n C++ Builder (5. 0) n n n 支援Windows最新的技術. 先求穩定, 再求符合C++標準規格. 真正支援C++標準規格(ANSI C++). 第一個真正的C++ RAD(Rapid Application Development) GNU C++ Compiler n 真正跨平台. (Windows, Linux, …等等) C++概觀和Visual C++簡介 8