摘要: 实验结论 1. 实验任务1 源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::st 阅读全文
posted @ 2026-11-26 17:22 BONKbonk 阅读(7) 评论(0) 推荐(0)
摘要: 实验结论 1.实验任务1 源码 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T& t); T(T&& t); ~T(); void adjust(int ratio); s 阅读全文
posted @ 2026-11-19 23:21 BONKbonk 阅读(4) 评论(0) 推荐(0)
摘要: 实验结论 1. 实验任务1 源代码 #include <iostream> #include <string> #include <vector> #include <algorithm> // 模板函数声明 template<typename T> void output(const T &c); 阅读全文
posted @ 2026-10-18 21:30 BONKbonk 阅读(10) 评论(0) 推荐(0)