摘要:
#include <vector>#include <iostream>using namespace std;int main(int argc, char** argv){ std::vector<int> vec; for(int i=0;i<100;i++) { vec.push_back(i); } printf("10:%d\n",vec[10]); printf("size:%d\n",vec.size()); printf("******************************* 阅读全文