摘要:
任务4 vector.hpp #pragma once #include<iostream> #include<stdexcept> using std::cout; using std::endl; template <typename T> class Vector{ public: Vecto 阅读全文
摘要:
任务一: publisher.hpp #pragma once #include <iostream> #include <string> using std::cout; using std::endl; using std::string; // 发行/出版物类:Publisher (抽象类) 阅读全文
摘要:
实验内容一: t.h 点击查看代码 #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T( 阅读全文