摘要: 转: http://www.cnblogs.com/hazir/p/new_and_delete.html 阅读全文
posted @ 2016-12-01 17:00 codingtao 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 排序 删除 重新赋值 例: vector<int> ivec = {-1,2,0,0,-1,2,3}; //sort sort(ivec.begin(),ivec.end()); //delete auto it = unique(ivec.begin(),ivec.end()); //resize 阅读全文
posted @ 2016-12-01 13:23 codingtao 阅读(3901) 评论(0) 推荐(0) 编辑