摘要:
person.hpp #ifndef PERSOM_HPP #define PERSON_HPP #include<string> #include<iostream> #include<iomanip> using std::string; using std::ostream; using st 阅读全文
摘要:
任务二: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an int 阅读全文
摘要:
任务五源码: #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<iomanip> #include <string> using namespace std; class Info { public: Info(string 阅读全文
摘要:
任务三源码: #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> class Complex{ public: Complex(){}; Complex(double r,double i=0):real(r),imag(i){}; 阅读全文