10 2025 档案

摘要:1.实验任务1 T.h源码 点击查看代码 #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 阅读全文
posted @ 2025-10-28 23:47 陈晨aaa 阅读(10) 评论(1) 推荐(0)
摘要:实验任务1 task1.cpp 点击查看代码 #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void 阅读全文
posted @ 2025-10-17 23:27 陈晨aaa 阅读(11) 评论(1) 推荐(0)