摘要:
task2: Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> using namespace std; class Person { private: string name; 阅读全文
摘要:
task2.1: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an 阅读全文
摘要:
Vector_int.hpp #include<iostream> using namespace std; class Vector_int { public: Vector_int(int len) { size = len; a = new int[size]; cout << "Constr 阅读全文
摘要:
info.hpp: #include<iostream> #include<string> using namespace std; class info { public: info(string name, string con, string cs, int m) :nickname(name 阅读全文
摘要:
Complex.hpp #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double r = 0.0, double i = 0.0) :real(r), imag(i) 阅读全文