摘要: //Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> #include<iomanip> using namespace std; class Person { private: 阅读全文
posted @ 2021-12-09 14:04 予你一叶舟 阅读(43) 评论(1) 推荐(0) 编辑
摘要: //task2 #include<iostream> #include<typeinfo> //definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw():just as an inter 阅读全文
posted @ 2021-11-24 22:09 予你一叶舟 阅读(8) 评论(1) 推荐(0) 编辑
摘要: //Vector_int.hpp #ifndef VECTOR_INT_H #define VECTOR_INT_H #include<iostream> #include<cassert> using std::cout; using std::endl; class Vector_int { p 阅读全文
posted @ 2021-11-05 18:29 予你一叶舟 阅读(29) 评论(1) 推荐(0) 编辑
摘要: //Info.hpp #ifndef EMPLOYEE_HPP #define EMPLOYEE_HPP #include<iostream> #include<string> using namespace std; class Info { private: string nickname; s 阅读全文
posted @ 2021-10-31 15:04 予你一叶舟 阅读(24) 评论(1) 推荐(0) 编辑
摘要: Complex.hpp //Complex.hpp#ifndef EMPLOYEE_HPP #define EMPLOYEE_HPP #include<iostream> #include<cmath> class Complex { private: double real; double ima 阅读全文
posted @ 2021-10-21 18:06 予你一叶舟 阅读(21) 评论(2) 推荐(0) 编辑