Reference Book:《C++Primer》
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1.I/O
(1) 输入输出:P5
A. iostream库
B. IO对象:cin, cout, cerr, clog.
(2)向流写入数据:P6
A. 输出运算符<<:
cout << "the value of i is " << i ; 串联操作符
B. endl操纵符
(3)从流读取数据:P7
(4)命名空间namespace:P7
A. std:std::cout, std::endl, std::cin
B. using声明:P74-75
-- std:: qualify id in library
std::cout
-- using directive:直接使用std命名空间中的名字
using namespace std;
-- using declaration
using std::cout;
2.String P75
(1)String Operations
//Containers和Array:
数组有固定的大小,可能会造成内存浪费或者溢出,数组之间不能进行赋值操作,并且索引值没有范围检查
3.Vector P86
(1)
4.List
5.Map