摘要: 实验任务2 Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> #include<iomanip> using namespace std; class Person{ public 阅读全文
posted @ 2021-12-12 15:02 yami123 阅读(20) 评论(2) 推荐(0) 编辑
摘要: 实验任务2 task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : jus 阅读全文
posted @ 2021-11-25 14:34 yami123 阅读(14) 评论(2) 推荐(0) 编辑
摘要: 实验任务4 vector_int.hpp #ifndef VECTOR_INT.HPP #define VECTOR_INT.HPP #include<iostream> using namespace std; class Vector_int{ public: Vector_int(int n) 阅读全文
posted @ 2021-11-07 17:18 yami123 阅读(10) 评论(3) 推荐(0) 编辑
摘要: 实验任务5 info.hpp #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<string> #include<vector> using namespace std; class info{ public: info(st 阅读全文
posted @ 2021-10-30 17:28 yami123 阅读(34) 评论(3) 推荐(0) 编辑
摘要: 实验任务3 Complex.hpp #ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(); C 阅读全文
posted @ 2021-10-23 16:52 yami123 阅读(47) 评论(3) 推荐(0) 编辑