摘要:
Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> using namespace std; class Person{ public: Person(){}; Person(str 阅读全文
摘要:
Battery.hpp #ifndef BATTERY_HPP #define BATTERY_HPP #include<iostream> class Battery{ public: Battery(int a); int get_capacity(){return capacity;}; pr 阅读全文
摘要:
Vector_int.hpp #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> #include<cassert> using namespace std; class Vector_int{ public: Vecto 阅读全文
摘要:
task5 Info.hpp 1 #ifndef INFO_HPP 2 #define INFO_HPP 3 #include<iostream> 4 #include<string> 5 using namespace std; 6 7 class Info{ 8 public: 9 Info(s 阅读全文
摘要:
#ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex{ public: Complex(); Complex(double a); C 阅读全文