摘要: 实验任务5 #include<iostream> #include<string> using namespace std; class TextCoder { public: TextCoder() = default; TextCoder(string str); string get_ciph 阅读全文
posted @ 2023-12-01 08:57 不卷的花卷 阅读(18) 评论(0) 推荐(0)
摘要: point.hpp #pragma once #include <iostream> using std::cout; using std::endl; class Point { public: Point(int x0 = 0, int y0 = 0); ~Point() = default; 阅读全文
posted @ 2023-11-06 07:34 不卷的花卷 阅读(19) 评论(0) 推荐(0)
摘要: 实验一 #ifndef T_H #define T_H #include <iostream> #include <string> using namespace std; class T { public: T(int x = 0, int y = 0); T(const T &t); T(T & 阅读全文
posted @ 2023-10-22 22:19 不卷的花卷 阅读(17) 评论(0) 推荐(0)
摘要: 实验任务一 #include <iostream> #include <string> #include <vector> #include <array> template<typename T> void output1(const T &obj) { for(auto i: obj) std: 阅读全文
posted @ 2023-10-20 01:22 不卷的花卷 阅读(14) 评论(0) 推荐(0)