摘要:
实验任务1 publisher.hpp #pragma once #include<iostream> #include<string> using std::cout; using std::string; using std::endl; class publisher{ public: pub 阅读全文
摘要:
一.实验任务一 point.hpp #pragma once #include <iostream> using std::cout; using std::endl; class Point { public: Point(int x0 = 0, int y0 = 0); ~Point() = d 阅读全文
摘要:
实验一: 类的定义文件 t.h #pragma once #include <iostream> #include <string> using namespace std; // 类T的声明 class T { public: T(int x = 0, int y = 0); // 带有默认形值的 阅读全文