随笔 - 6  文章 - 0  评论 - 0  阅读 - 54 
10 2024 档案
实验2 类和对象_基础编程1
摘要:任务1: t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T &t); T(T &&t); ~T(); void adjust(int ratio); void display 阅读全文
posted @ 2024-10-27 22:57 陆一鸣· 阅读(7) 评论(0) 推荐(0) 编辑
面向对象程序设计-实验1
摘要:任务一: #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; template<typename T> void output(const T &c); v 阅读全文
posted @ 2024-10-13 22:18 陆一鸣· 阅读(17) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示