摘要: STL 中的list容器 1 //对已string型list进行添加,删除,查找,插入操作 2 #include "stdafx.h" 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ... 阅读全文
posted @ 2014-06-25 21:57 击进的Cocos 阅读(289) 评论(0) 推荐(0) 编辑
摘要: deque 提供了对首部数据进行删除/插入操作 1 //对一个int型的deque进行首尾添加操作 2 #include "stdafx.h" 3 #include 4 5 #include 6 using namespace std; 7 8 int main() 9 {10 de... 阅读全文
posted @ 2014-06-25 18:12 击进的Cocos 阅读(267) 评论(0) 推荐(0) 编辑