摘要: 这个月把小论文排版好,把c++复习完一遍,把linux基本操作学完。 下个月把论文投出去,开始设计模式,还有系统编程,然后是网络编程。 然后开始坚持每天刷一道题,然后开始毕设。 阅读全文
posted @ 2021-08-26 16:45 花与不易 阅读(35) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <list> #include <algorithm> void printList(const list<int>& L) { for (auto it = L.begin(); it != L.e 阅读全文
posted @ 2021-08-26 16:14 花与不易 阅读(62) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <queue> #include <algorithm> /* //一、构造函数 queue<T> que; 采用模板类实现,queue对象的默认构造形式 queue(const queue & qu 阅读全文
posted @ 2021-08-26 15:07 花与不易 阅读(163) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <stack> #include <algorithm> /* //一、构造函数 stack<T> stk; 采用模板类实现,stack对象的默认构造形式 stack(const stack & st 阅读全文
posted @ 2021-08-26 14:56 花与不易 阅读(135) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <deque> #include <algorithm> void printDeque(const deque<int>& d) { for (auto it = d.begin(); it != 阅读全文
posted @ 2021-08-26 14:41 花与不易 阅读(109) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <vector> void printVector(vector<int>& v) { for (auto it = v.begin(); it != v.end(); it++) { cout << 阅读全文
posted @ 2021-08-26 11:39 花与不易 阅读(173) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <string> //一、构造函数 /* string(); 创建一个空的字符串,例如string str; string(const char* s); 使用字符串s初始化 string(const 阅读全文
posted @ 2021-08-26 10:39 花与不易 阅读(90) 评论(0) 推荐(0)