摘要: task1 1 #include <iostream> 2 #include "point.hpp" 3 #include <vector> 4 5 using std::vector; 6 using std::cin; 7 8 void output(const vector<Point> &v 阅读全文
posted @ 2023-11-06 09:17 Serenity-X 阅读(32) 评论(0) 推荐(0)
摘要: task1 t.h 1 #ifndef T_H 2 #define T_H 3 #include <iostream> 4 #include <string> 5 using namespace std; 6 // 类T的声明 7 class T { 8 public: 9 T(int x = 0, 阅读全文
posted @ 2023-10-23 09:17 Serenity-X 阅读(30) 评论(0) 推荐(0)
摘要: task 1 1 // 标准库string, vector, array基础用法 2 #include <iostream> 3 #include <string> 4 #include <vector> 5 #include <array> 6 // 函数模板 7 // 对满足特定条件的序列类型T 阅读全文
posted @ 2023-10-20 09:01 Serenity-X 阅读(45) 评论(0) 推荐(0)