摘要: #include <iostream> using namespace std; /* string& operator+=(const char* str); //重载+=操作符 string& operator+=(const char c); //重载+=操作符 string& operato 阅读全文
posted @ 2021-12-22 14:42 晓风霜度- 阅读(162) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <vector> #include <algorithm> //标准算法头文件 //vector容器存放内置数据类型 void myPrint(int val) { cout << val << en 阅读全文
posted @ 2021-12-22 10:30 晓风霜度- 阅读(383) 评论(0) 推荐(0)