摘要: 1. 实验任务1 源代码 1 #pragma once 2 #include<vector> 3 #include<array> 4 #include<string> 5 class GradeCalc{ 6 public: 7 GradeCalc(const std::string &cname) 阅读全文
posted @ 2025-12-02 22:16 交界地第一深情 阅读(2) 评论(0) 推荐(0)
摘要: #include "window.hpp" #include <iostream> void test(){ Window w("Demo"); w.add_button("add"); w.add_button("remove"); w.add_button("modify"); w.add_bu 阅读全文
posted @ 2025-11-25 21:35 交界地第一深情 阅读(7) 评论(1) 推荐(0)
摘要: #pragma once #include <string> #include <iostream> class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); 阅读全文
posted @ 2025-10-27 20:44 交界地第一深情 阅读(6) 评论(1) 推荐(0)
摘要: `#include "T.h" include void test_T() { using std::cout; using std::endl; cout << "T info: " << T::doc << endl; cout << "T objects' max count: " << T: 阅读全文
posted @ 2025-10-27 18:36 交界地第一深情 阅读(8) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/Zenxu/ 阅读全文
posted @ 2025-10-18 16:09 交界地第一深情 阅读(5) 评论(0) 推荐(0)