摘要: 实验结论: 实验任务2: Person.hpp #ifndef Person_hpp #define Person_hpp #include <iostream> #include <string> #include <iomanip> using namespace std; class Pers 阅读全文
posted @ 2021-12-11 21:27 EliaukYob 阅读(8) 评论(2) 推荐(0) 编辑
摘要: 实验结论: 实验任务2: 源代码: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : j 阅读全文
posted @ 2021-11-25 08:40 EliaukYob 阅读(45) 评论(2) 推荐(0) 编辑
摘要: 实验任务4: #ifndef Vector_int_hpp #define Vector_int_hpp #include<iostream> #include<cassert> using namespace std; class Vector_int{ public: Vector_int(in 阅读全文
posted @ 2021-11-07 13:17 EliaukYob 阅读(10) 评论(2) 推荐(0) 编辑
摘要: 实验结论: 实验任务5: Info.hpp #ifndef Info_hpp #define Info_hpp #include<iostream> #include<string> #include<vector> #define capacity 100 using namespace std; 阅读全文
posted @ 2021-10-30 10:27 EliaukYob 阅读(26) 评论(2) 推荐(0) 编辑
摘要: 实验结论: 实验任务3: complex.hpp代码: #ifndef complex_hpp #define complex_hpp #include<iostream> #include<cmath> class complex{ public: complex(){} ~complex(){} 阅读全文
posted @ 2021-10-23 14:06 EliaukYob 阅读(49) 评论(3) 推荐(0) 编辑