摘要:
实验二 Person.hpp #include<iostream> #include<string> using namespace std; class Person{ public: Person(){} Person(string a,string b,string c=" "):name(a 阅读全文
摘要:
task2 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an in 阅读全文
摘要:
#ifndef Vector_int_hpp #define Vector_int_hpp #include <iostream> using namespace std; class Vector_int { public: Vector_int(int n);//构造函数不含初始值 Vector 阅读全文
摘要:
#ifndef Info_hpp #define Info_hpp #include<iostream> #include<string> using namespace std; //Info类的定义 class Info { private: string nickname;//昵称 strin 阅读全文
摘要:
恢复内容开始 恢复内容开始 Complex类的定义 #include<iostream> #include<math.h> using namespace std; //类的定义 class Complex { public: //构造函数 Complex(){}; //构造函数重载 Complex 阅读全文