摘要: 实验任务二 Person.hpp 1 #ifndef PERSON_HPP 2 #define PERSON_HPP 3 4 #include<iostream> 5 #include<string> 6 #include<iomanip> 7 8 using namespace std; 9 10 阅读全文
posted @ 2021-12-14 14:50 ymmmnn 阅读(44) 评论(3) 推荐(0)
摘要: 实验任务2 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an in 阅读全文
posted @ 2021-11-28 23:13 ymmmnn 阅读(37) 评论(2) 推荐(0)
摘要: 实验任务4 vector_int.hpp 1 #ifndef VECTOR_INT_HPP 2 #define VECTOR_INT_HPP 3 4 #include<iostream> 5 #include<cassert> 6 7 class Vector_int{ 8 public: 9 Ve 阅读全文
posted @ 2021-11-06 16:29 ymmmnn 阅读(42) 评论(3) 推荐(0)
摘要: 实验任务5 Info.hpp #ifndef INFO_HPP #define INFO_hpp #include<iostream> #include<string> #include<iomanip> using namespace std; class Info{ private: strin 阅读全文
posted @ 2021-10-31 21:03 ymmmnn 阅读(16) 评论(3) 推荐(0)
摘要: 四、实验结论 实验任务三 complex.hpp 1 #ifndef COMPLEX_HPP 2 #define COMPLEX_Hpp 3 4 #include<iostream> 5 #include<cmath> 6 7 using namespace std; 8 9 class Compl 阅读全文
posted @ 2021-10-24 23:43 ymmmnn 阅读(48) 评论(3) 推荐(0)