2011年6月24日

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 fresky 阅读(1778) 评论(0) 推荐(0) 编辑

导航