摘要: task2 Person.hpp #include<iostream> #include<iomanip> using namespace std; class Person { private: string name; string email; string telephone; public 阅读全文
posted @ 2021-12-11 23:40 suanmeitang 阅读(18) 评论(3) 推荐(0) 编辑
摘要: task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as a 阅读全文
posted @ 2021-11-27 16:00 suanmeitang 阅读(17) 评论(3) 推荐(0) 编辑
摘要: task 4 Vector_int.hpp #include <iostream> #include<cassert> using namespace std; class Vector_int { private: int size; int* p; public: Vector_int(int 阅读全文
posted @ 2021-11-06 15:39 suanmeitang 阅读(18) 评论(3) 推荐(0) 编辑
摘要: task 5 Info.hpp #include <iostream> #include <vector> #include<iomanip> #include<string> using namespace std; class Info { private: string nickname; s 阅读全文
posted @ 2021-10-31 18:53 suanmeitang 阅读(14) 评论(3) 推荐(0) 编辑
摘要: task 3: Complex.hpp源码: #include <iostream> #include <cstdio> #include <cmath> using namespace std; class Complex { private: double real; double imag; 阅读全文
posted @ 2021-10-24 20:05 suanmeitang 阅读(34) 评论(3) 推荐(0) 编辑