C++的vector::push_back()和vector::resize()比较
摘要:今天看别的code写着下面几行来往vector里面添加一个元素。vector<Type> v;long size = (long)v.size();v.resize(size+1);v[size] =...
阅读全文
posted @ 2011-06-24 17:20
posted @ 2011-06-24 17:20
posted @ 2011-06-23 15:49