摘要: 实验结论 1.实验任务1 任务1.2 Complex.hpp源码 #ifndef COMPLEX_HPP_INCLUDED #define COMPLEX_HPP_INCLUDED #include <iostream> using std::cout; using std::endl; using 阅读全文
posted @ 2021-12-14 19:48 bjfbfelkbuif 阅读(23) 评论(1) 推荐(0) 编辑
摘要: 实验任务2 程序源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as 阅读全文
posted @ 2021-11-23 22:10 bjfbfelkbuif 阅读(66) 评论(1) 推荐(0) 编辑
摘要: 实验任务4 Vector_int.hpp源码 #ifndef VECTOR_INT_HPP_INCLUDED #define VECTOR_INT_HPP_INCLUDED #include <iostream> using namespace std; class Vector_int{ publ 阅读全文
posted @ 2021-11-07 14:04 bjfbfelkbuif 阅读(12) 评论(1) 推荐(0) 编辑
摘要: 5.实验任务5 Info.hpp文件源码 #ifndef INFO_HPP_INCLUDED #define INFO_HPP_INCLUDED #include<iostream> #include<string> using namespace std; class Info{ private: 阅读全文
posted @ 2021-11-02 12:53 bjfbfelkbuif 阅读(25) 评论(1) 推荐(0) 编辑
摘要: 四、实验结论 实验任务3 complex.hpp文件源码 class complex { public: complex(){} complex(double a):real(a),imag(0){} complex(double b,double c):real(b),imag(c){} comp 阅读全文
posted @ 2021-10-25 21:32 bjfbfelkbuif 阅读(34) 评论(1) 推荐(0) 编辑