摘要: task1 源代码 GradeCalc.hpp 查看代码 #pragma once #include <vector> #include <array> #include <string> class GradeCalc { public: GradeCalc(const std::string & 阅读全文
posted @ 2025-11-26 22:24 Asahina 阅读(7) 评论(0) 推荐(0)
摘要: task1 源代码 button.h 查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string& label_); const std::string 阅读全文
posted @ 2025-11-20 17:49 Asahina 阅读(18) 评论(1) 推荐(0)
摘要: task1 T.h 1 #pragma once 2 3 #include <string> 4 5 // 类T: 声明 6 class T { 7 // 对象属性、方法 8 public: 9 T(int x = 0, int y = 0); // 普通构造函数 10 T(const T &t); 阅读全文
posted @ 2025-10-23 19:30 Asahina 阅读(19) 评论(1) 推荐(0)
摘要: https://www.cnblogs.com/Asahina 阅读全文
posted @ 2025-10-13 00:26 Asahina 阅读(7) 评论(0) 推荐(0)
摘要: task1: 源代码task1.cpp 1 // 现代C++标准库、算法库体验 2 // 本例用到以下内容: 3 // 1. 字符串string, 动态数组容器类vector、迭代器 4 // 2. 算法库:反转元素次序、旋转元素 5 // 3. 函数模板、const引用作为形参 6 #includ 阅读全文
posted @ 2025-10-13 00:18 Asahina 阅读(12) 评论(1) 推荐(0)
//雪花飘落效果 -->