容器可嵌套容器
在vector<> 中还可以建立vector<> ,如vector< vector > 这里就可以在容器里面在建立容器
迭代器类似于指针可以分等级
例如:vector< vector >::iterator it
vector< int >::iterator it
这两个迭代器的指向,由前面的<>中的内容决定了其指示对象的大小,
相关的示例代码
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
void print(vector<