随笔分类 -  STL

摘要:vector是标准模板库的一种容器,是可存放各种类型的动态数组。#include#includeusing namespace std;void print(vector numbers){ for (int i = 0; i vInt; int tmp; for (int i ... 阅读全文
posted @ 2015-10-13 15:56 LarryKnight 阅读(288) 评论(0) 推荐(0)