摘要: 任务一: GradeCalc.hpp 1 #pragma once 2 #include<array> 3 #include<string> 4 #include<vector> 5 class GradeCalc 6 { 7 public: 8 GradeCalc(const std::strin 阅读全文
posted @ 2025-12-02 17:16 零和星际 阅读(4) 评论(0) 推荐(0)
摘要: 任务一: button.hpp 1 #pragma once 2 #include<iostream> 3 #include<string> 4 class Button 5 { 6 public: 7 Button(const std::string &label_); 8 const std:: 阅读全文
posted @ 2025-11-25 22:32 零和星际 阅读(7) 评论(1) 推荐(0)
摘要: 任务一: T.h 1 #pragma once 2 #include<string> 3 class T 4 { 5 public: 6 T(int x=0,int y=0); 7 T(const T &t); 8 T(T &&t); 9 ~T(); 10 void adjust(int ratio 阅读全文
posted @ 2025-10-26 11:10 零和星际 阅读(29) 评论(1) 推荐(0)
摘要: 任务1: 源代码task1.cpp 1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 template<typename T> 6 void output(const T &c); 7 阅读全文
posted @ 2025-10-16 17:07 零和星际 阅读(28) 评论(1) 推荐(0)