摘要:
实验结论 1.实验任务1 任务1.2 Complex.hpp源码 #ifndef COMPLEX_HPP_INCLUDED #define COMPLEX_HPP_INCLUDED #include <iostream> using std::cout; using std::endl; using 阅读全文
摘要:
实验任务2 程序源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as 阅读全文
摘要:
实验任务4 Vector_int.hpp源码 #ifndef VECTOR_INT_HPP_INCLUDED #define VECTOR_INT_HPP_INCLUDED #include <iostream> using namespace std; class Vector_int{ publ 阅读全文
摘要:
5.实验任务5 Info.hpp文件源码 #ifndef INFO_HPP_INCLUDED #define INFO_HPP_INCLUDED #include<iostream> #include<string> using namespace std; class Info{ private: 阅读全文
摘要:
四、实验结论 实验任务3 complex.hpp文件源码 class complex { public: complex(){} complex(double a):real(a),imag(0){} complex(double b,double c):real(b),imag(c){} comp 阅读全文