摘要:
task2 person.hpp #include<iostream> #include<string> #include<iomanip> using namespace std; class Person { public: Person(string name0,string telephon 阅读全文
摘要:
task2.cpp 改动后代码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw 阅读全文
摘要:
task4 vector_int.hpp代码如下 #include<iostream> #include<cassert> using namespace std; class Vector_int{ public: Vector_int(int n); Vector_int(int n,int m 阅读全文
摘要:
task5 Info.hpp代码如下 #include<iostream> #include<string> using namespace std; class Info{ public: Info(string nickname1,string contact1,string city1,int 阅读全文
摘要:
task 3 Complex.hpp 代码如下: #include<iostream> #include<math.h> using namespace std; class Complex{ public: Complex(); Complex(double real1,double imag1) 阅读全文
摘要:
task4 User.hpp 代码如下: #include<iostream> #include<string> using namespace std; class User{ public: User(string name1); User(string name1,string passwor 阅读全文
摘要:
task3 Complex.hpp 代码 #include<iostream> #include<math.h> using namespace std; class Complex{ public: Complex(); Complex(double real1,double imag1); Co 阅读全文