11 2024 档案

摘要:任务2: #include <iostream> #include <vector> #include <string> #include <algorithm> #include <numeric> #include <iomanip> using std::vector; using std:: 阅读全文
posted @ 2024-11-24 22:41 枫羽秋茜 阅读(7) 评论(0) 推荐(0) 编辑
摘要:任务1: #pragma once #include <iostream> #include <string> using std::string; using std::cout; // 按钮类 class Button { public: Button(const string &text); 阅读全文
posted @ 2024-11-10 23:12 枫羽秋茜 阅读(7) 评论(0) 推荐(0) 编辑
摘要:任务1: #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动 阅读全文
posted @ 2024-11-03 22:15 枫羽秋茜 阅读(2) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示