摘要:
task2 Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<iomanip> using namespace std; class Person { private: string name; 阅读全文
摘要:
task 2 未修改前: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just a 阅读全文
摘要:
task 4 #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector_int(i 阅读全文
摘要:
task 5 info.hpp #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<string> using namespace std; class Info { public: Info(string x,string y 阅读全文
摘要:
task3. #ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double x=0,doub 阅读全文