日期:2014-05-20 浏览次数:20888 次
#include <vector> using namespace std; //... vector<int>* p = new vector<int>(); p->clear(); p->push_back(100); //... delete p; ------解决方案--------------------Java:Collection/Vecotor/List;