摘要: person.hpp: #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<iomanip> #include<string> using namespace std; class Person{ private: st 阅读全文
posted @ 2021-12-12 14:45 金玉·礼予天地四方 阅读(28) 评论(2) 推荐(0) 编辑
摘要: battery.hpp: #ifndef BATTRY_HPP #define BATTRY_HPP #include<iostream> using namespace std; class Battery{ private: int capacity = 70; public: Battery( 阅读全文
posted @ 2021-11-25 15:28 金玉·礼予天地四方 阅读(49) 评论(2) 推荐(0) 编辑
摘要: Vector_int.hpp: #ifndef VERCTOR_INT_HPP #define VERCTOR_INT_HPP #include <cassert> #include <iostream> using namespace std; class Vector_int{ public: 阅读全文
posted @ 2021-11-07 17:20 金玉·礼予天地四方 阅读(15) 评论(3) 推荐(0) 编辑
摘要: info.hpp: #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<string> using namespace std; class Info{ public: Info(string a,string b,string 阅读全文
posted @ 2021-10-30 17:21 金玉·礼予天地四方 阅读(34) 评论(3) 推荐(0) 编辑
摘要: <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:21 金玉·礼予天地四方 阅读(23) 评论(3) 推荐(0) 编辑