摘要: 实验任务2 <Person.hpp> #include <iostream> #include <fstream> #include <vector> #include<string> #include<iomanip> using namespace std; class Person { pri 阅读全文
posted @ 2021-12-17 20:20 KIDX2 阅读(22) 评论(3) 推荐(0) 编辑
摘要: 实验任务2 <task2.cpp> #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : j 阅读全文
posted @ 2021-11-28 22:15 KIDX2 阅读(29) 评论(2) 推荐(0) 编辑
摘要: <vector_int.hpp> #ifndef VEXTOR_INT_HPP #define VEXTOR_INT_HPP #include<iostream> using namespace std; class Vector_int{ public: Vector_int(int n) :si 阅读全文
posted @ 2021-11-06 17:54 KIDX2 阅读(30) 评论(3) 推荐(0) 编辑
摘要: <task5.cpp> #include"info.hpp" #include<iostream> #include<vector> #include<iomanip> using namespace std; const int capacity = 100; int main() { cout 阅读全文
posted @ 2021-10-30 12:55 KIDX2 阅读(43) 评论(3) 推荐(0) 编辑
摘要: 实验三 <task3.cpp> #include "Complex.hpp" #include <iostream> int main() { using namespace std; Complex c1(6, -8); const Complex c2(3.5); Complex c3(c1); 阅读全文
posted @ 2021-10-23 14:49 KIDX2 阅读(46) 评论(3) 推荐(0) 编辑