摘要: Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> #include<iomanip> using namespace std; class Person { public: Per 阅读全文
posted @ 2021-12-12 15:12 过路游人XYZ 阅读(36) 评论(3) 推荐(0) 编辑
摘要: 任务1 期中练习1 #include<iostream> #include<map> #include<string> int main() { using namespace std; map<int,char> letter{{0,'a'},{1,'b'},{2,'c'},{3,'d'},{4, 阅读全文
posted @ 2021-11-29 22:17 过路游人XYZ 阅读(18) 评论(3) 推荐(0) 编辑
摘要: vector_int.hpp #ifndef VECTOR_HPP #define VECTOR_HPP #include <iostream> #include <cassert> using namespace std; class vector_int { public: vector_int 阅读全文
posted @ 2021-11-07 23:41 过路游人XYZ 阅读(26) 评论(3) 推荐(0) 编辑
摘要: Info.hpp #ifndef INFO_HPP #define INFO_HPP #include <iostream> #include <iomanip> #include <string> using namespace std; class Info { public: Info(str 阅读全文
posted @ 2021-10-30 21:53 过路游人XYZ 阅读(26) 评论(3) 推荐(0) 编辑
摘要: Complex.hpp #ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double r=0 阅读全文
posted @ 2021-10-25 21:21 过路游人XYZ 阅读(31) 评论(4) 推荐(0) 编辑