摘要: person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> #include<iomanip> using namespace std; class Person { public: Per 阅读全文
posted @ 2021-12-12 18:31 椿去楸来 阅读(51) 评论(4) 推荐(0)
摘要: tsak2.cpp文件源码 #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : just as an interf 阅读全文
posted @ 2021-11-28 19:56 椿去楸来 阅读(49) 评论(3) 推荐(0)
摘要: Vector_int.hpp源代码 #ifndef Vector_int_hpp #define Vector_int_hpp #include<iomanip> using namespace std; class Vector_int { public: Vector_int(int n); V 阅读全文
posted @ 2021-11-10 00:56 椿去楸来 阅读(19) 评论(3) 推荐(0)
摘要: info.hpp文件源码 #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<iomanip> using namespace std; class info { public: info(string &a,string &b 阅读全文
posted @ 2021-10-31 20:43 椿去楸来 阅读(41) 评论(3) 推荐(0)
摘要: complex.cpp文件源码: #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include <cmath> class Complex { public: Complex() {};//默认构造函数 ~Complex() 阅读全文
posted @ 2021-10-25 23:16 椿去楸来 阅读(183) 评论(3) 推荐(1)