摘要:
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 ... 阅读全文
摘要:
deque 提供了对首部数据进行删除/插入操作 1 //对一个int型的deque进行首尾添加操作 2 #include "stdafx.h" 3 #include 4 5 #include 6 using namespace std; 7 8 int main() 9 {10 de... 阅读全文