2021年12月13日
摘要: task2 Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include <iostream> #include <iomanip> #include <string> using namespace std; class Person { pr 阅读全文
posted @ 2021-12-13 17:24 Polaris啊 阅读(18) 评论(2) 推荐(0) 编辑
  2021年11月30日
摘要: task2 程序源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as 阅读全文
posted @ 2021-11-30 23:41 Polaris啊 阅读(29) 评论(2) 推荐(0) 编辑
  2021年11月6日
摘要: Vector_int.hpp #ifndef Vector_hpp #define Vector_hpp #include<iostream> #include<cassert> using namespace std; class Vector_int { private: int size; i 阅读全文
posted @ 2021-11-06 16:32 Polaris啊 阅读(24) 评论(3) 推荐(0) 编辑
  2021年11月2日
摘要: #ifndef Info_HPP #define Info_HPP #include <iostream> #include <string> using namespace std; class Info { private: string nickname,contact,city; int n 阅读全文
posted @ 2021-11-02 02:26 Polaris啊 阅读(15) 评论(2) 推荐(0) 编辑
  2021年10月24日
摘要: //#ifndef Complex.hpp //#define Complex.hpp #include<iostream> #include <cmath> using namespace std; class Complex{ private: double real; double imag; 阅读全文
posted @ 2021-10-24 22:41 Polaris啊 阅读(45) 评论(3) 推荐(0) 编辑