摘要: person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> using namespace std; using std::istream; class Person { public: P 阅读全文
posted @ 2021-12-14 22:10 向胃猛冲 阅读(11) 评论(3) 推荐(0) 编辑
摘要: ELectricCar.hpp: #ifndef ELECTRICCAR_H #define ELECTRICCAR_H #include<iostream> #include<string> using namespace std; class Battery { public: Battery( 阅读全文
posted @ 2021-11-27 21:09 向胃猛冲 阅读(7) 评论(2) 推荐(0) 编辑
摘要: task 4: hpp: #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include <iostream> #include <string> #include <cassert> using namespace std; class Vector_ 阅读全文
posted @ 2021-11-09 23:55 向胃猛冲 阅读(6) 评论(3) 推荐(0) 编辑
摘要: 任务五 info.hpp #ifndef INFO_hpp #define INFO_hpp #include <string> #include <iostream> #include<limits> using namespace std; class Info { public: Info() 阅读全文
posted @ 2021-11-03 13:01 向胃猛冲 阅读(17) 评论(3) 推荐(0) 编辑
摘要: task3: #ifndef Complex_HPP #define Complex_HPP #include <iostream> #include <iomanip> #include <string> #include<cmath> using namespace std; class Com 阅读全文
posted @ 2021-10-24 15:23 向胃猛冲 阅读(19) 评论(3) 推荐(0) 编辑