摘要:
task2 person.hpp #ifndef PERSON_H #define PERSON_H #include<iostream> using namespace std; class Person { public: Person(){} Person(string a,string b, 阅读全文
摘要:
实验任务2 实验源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as 阅读全文
摘要:
实验任务4 vector_int.h #ifndef VECTOR_H #define VECTOR_H #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector_int(i 阅读全文
摘要:
实验任务5 info.h #ifndef INFO_H #define INFO_H #include<iostream> #include<vector> #include<array> using namespace std; class info { public: info(string a 阅读全文
摘要:
实验结论: 实验任务3: Complex.h源码 #ifndef COMPLEX_HPP #define COMPLEX_HPP #include<cmath> #include<iostream> using namespace std; class Complex { public: Compl 阅读全文