能接受下vector容器的用法吗?它和我们定义的数组有什么区别?和string有什么区别。
如图,
vector<int> v; for(int i=0;i !=100;++i) { v.push_back(i); }