10 2024 档案

摘要:实验任务一 源码 1 #pragma once 2 3 #include<string> 4 5 class T { 6 public: 7 T(int x = 0, int y = 0); 8 T(const T& t); 9 T(T&& t);//移动构造函数 10 ~T(); 11 void 阅读全文
posted @ 2024-10-26 14:58 姚润勰 阅读(23) 评论(0) 推荐(0)
摘要:任务一 源代码 1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 6 using namespace std; 7 8 template<typename T> 9 void outp 阅读全文
posted @ 2024-10-09 20:18 姚润勰 阅读(17) 评论(0) 推荐(0)