随笔 - 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
阅读全文
面向对象程序设计-实验1
摘要:任务一: #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; template<typename T> void output(const T &c); v
阅读全文