摘要: #include <iostream> using namespace std; void MergeSort(int a[], int n); void MergePass(int a[], int length, int n); void Merge(int a[], int min, int 阅读全文
posted @ 2022-04-07 13:18 越来越懒了 阅读(53) 评论(0) 推荐(0)
摘要: Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include <iostream> #include <iomanip> #include <string> using namespace std; class Person { public: 阅读全文
posted @ 2021-12-14 00:05 越来越懒了 阅读(45) 评论(3) 推荐(0)
摘要: 任务二 task2: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as 阅读全文
posted @ 2021-11-29 21:46 越来越懒了 阅读(18) 评论(3) 推荐(0)
摘要: vector_int.hpp #include <iostream> class Vector_int { public: Vector_int(int n); Vector_int(int n, int m); Vector_int(const Vector_int &x); ~Vector_in 阅读全文
posted @ 2021-11-09 18:01 越来越懒了 阅读(30) 评论(3) 推荐(0)
摘要: 实验五: ”info.hpp“ #ifndef info_hpp #define info_hpp #include <iostream> #include <string> #include <iomanip> using namespace std; class info { public: i 阅读全文
posted @ 2021-11-02 17:11 越来越懒了 阅读(26) 评论(3) 推荐(0)
摘要: 实验任务3: Complex.hpp: #include <iostream> #include <cmath> class Complex { public: Complex() {}; Complex(double r, double i = 0) :real(r), imag(i) {}; C 阅读全文
posted @ 2021-10-25 19:30 越来越懒了 阅读(64) 评论(3) 推荐(0)