摘要: 1 #include<iostream> 2 #include<stdlib.h> 3 using namespace std; 4 #include<deque> 5 #include<algorithm> 6 7 8 /* 9 3.3.6 deque数据存取 10 at(int idx); // 阅读全文
posted @ 2021-04-27 22:43 yub4by 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<stdlib.h> 3 using namespace std; 4 #include<deque> 5 6 7 /* 8 3.3.5 deque插入和删除 9 两端插入操作: 10 push_back(elem); //在容器尾部添加 阅读全文
posted @ 2021-04-27 22:42 yub4by 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<stdlib.h> 3 using namespace std; 4 #include<deque> 5 6 7 /* 8 3.3.3 deque赋值操作 9 deque& operator=(const deque &deq); // 阅读全文
posted @ 2021-04-27 22:40 yub4by 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 课程来源 黑马程序员匠心之作|C++教程从0到1入门编程,学习编程不再难 学习进程 第1阶段-C++基础入门(2-6)PDF 1 初识C++、数据类型、运算符 2 流程控制语句 2.1【选择结构:if、三目运算符、switch】 2.2【while循环、案例】 2.3【do while循环、案例】 阅读全文
posted @ 2021-04-27 21:49 yub4by 阅读(160) 评论(0) 推荐(1) 编辑
点击右上角即可分享
微信分享提示