摘要:
task2 Person.hpp #include<iostream> #include<iomanip> using namespace std; class Person { private: string name; string email; string telephone; public 阅读全文
摘要:
task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as a 阅读全文
摘要:
task 4 Vector_int.hpp #include <iostream> #include<cassert> using namespace std; class Vector_int { private: int size; int* p; public: Vector_int(int 阅读全文
摘要:
task 5 Info.hpp #include <iostream> #include <vector> #include<iomanip> #include<string> using namespace std; class Info { private: string nickname; s 阅读全文
摘要:
task 3: Complex.hpp源码: #include <iostream> #include <cstdio> #include <cmath> using namespace std; class Complex { private: double real; double imag; 阅读全文