摘要: #include #include //front push pop back push pop [] at() #include #include #include //remove using namespace std; void listTest() { int iArray[]={1,2,3,4,5,3,3,3,3,3,6}; list listInt(i... 阅读全文
posted @ 2017-02-15 19:37 sky20080101 阅读(183) 评论(0) 推荐(0)
摘要: #include #include using namespace std; void Test(); void main() { int a[]={1,2,3,4,5}; vector v_a(a,a+5); vector v_b(v_a.begin(),v_a.end()); vector::iterator it; for (it=v_... 阅读全文
posted @ 2017-02-15 00:57 sky20080101 阅读(261) 评论(0) 推荐(0)
摘要: #include #include using namespace std; void main() { vector vInt; vInt.push_back(1); vInt.push_back(2); vInt.push_back(3); vInt.push_back(4); vInt.push_back(5); vector::... 阅读全文
posted @ 2017-02-15 00:41 sky20080101 阅读(423) 评论(0) 推荐(0)