摘要: task2 person.hpp #include <iostream> #include <string> #include <iomanip> using namespace std; class Person { public: Person() = default; Person(strin 阅读全文
posted @ 2021-12-13 16:44 古摇 阅读(14) 评论(2) 推荐(0) 编辑
摘要: 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 古摇 阅读(6) 评论(1) 推荐(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 古摇 阅读(14) 评论(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 古摇 阅读(36) 评论(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 古摇 阅读(15) 评论(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 古摇 阅读(30) 评论(0) 推荐(0) 编辑