摘要: task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : j 阅读全文
posted @ 2021-11-25 20:32 古摇 阅读(2) 评论(0) 推荐(0) 编辑
摘要: vector_int hpp: #include <iostream> using namespace std; class vector_int { public: vector_int(int n); vector_int(int n, int m); vector_int(const vect 阅读全文
posted @ 2021-11-07 19:45 古摇 阅读(12) 评论(3) 推荐(0) 编辑
摘要: info.hpp文件源码 #include <iostream> #include <string> using namespace std; class info { public: info(){}; info(string nick, string con, string c, int n1) 阅读全文
posted @ 2021-10-30 18:24 古摇 阅读(14) 评论(3) 推荐(0) 编辑
摘要: complex.hpp源代码 //#include "complex.h" #include <iostream> #include <cmath> using namespace std; class Complex { public: Complex(int r = 0, int i = 0) 阅读全文
posted @ 2021-10-24 10:47 古摇 阅读(13) 评论(3) 推荐(0) 编辑
摘要: complex.hpp //#include "complex.h" #include <iostream> #include <cmath> using namespace std; class Complex { public: Complex(int r = 0, int i = 0) : r 阅读全文
posted @ 2021-10-24 10:37 古摇 阅读(4) 评论(0) 推荐(0) 编辑