*C++ 簡介 : C 與 C++的一些差異
Introduction to C++ : Differences between C and C++
L8_A
#include<> 和 std::
(#include<> & std::)
字串
(String)
新的型別Auto
(New type "Auto")
以值域為基礎的 for 迴圈
(Range-based for loop)
L8_B
新的型別 Reference & : 傳參考
(New type "Reference &" : call-by-reference)
L8_C
Lambda functions
(Lambda functions)
L8_D
Classes : 利用class定義新的型別 complex
(Classes : Use class to define a new type "complex" )
-Public 和 private函數
(-Public & private functions)
-建構子
(-Constructors)
-定義complex的operator
(-Define operators for complex )