10 2024 档案
摘要:1. 实验任务1 t.h源代码: 1 #pragma once 2 #include <string> 3 4 // 类T: 声明 5 class T { 6 public: 7 // 对象属性、方法 8 T(int x = 0, int y = 0); // 普通构造函数 9 T(const T&
阅读全文
摘要:1. 实验任务1 task1源代码: 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 using namespace std; 7 8 // 声明 9 // 模板函数声明
阅读全文