摘要:
Test 2: Person.hpp: #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> using namespace std; class Person { private: string name 阅读全文
摘要:
task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as a 阅读全文
摘要:
vector_int.hpp: #ifndef VECTOR_INT_H #define VECTOR_INT_H #include<iostream> #include<cassert> using namespace std; class vector_int { public: vector_ 阅读全文
摘要:
task5 : "info.h" #include<iostream> #include<string> #include<iomanip> using namespace std; class info { private: string nickname; string contact; str 阅读全文
摘要:
task3 Complex.hpp #include<iostream> #include<cmath> using namespace std; class Complex { private: double real; double imag; public: Complex(double x 阅读全文