C++:vector 定义:标准库类型、容器、类模板 vector表示类型相同的对象的集合 集合中每个对象都有一个与之对应的索引 使用声明: #include<vector> using std::vector;