10 2022 档案
摘要:Info.hpp #include <iostream> #include <vector> #include <string> #include <iomanip> using namespace std; class ReserveInfo { private: string nick_name
阅读全文
摘要:task 4. Complex.hpp #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double a = 0,double b = 0):real{a},imag{b}
阅读全文
摘要:任务5#include<iostream> #include<iomanip> class Rectangle { public: Rectangle(float l=2.0,float w=1.0):length{l},width{w}{} Rectangle(const Rectangle& o
阅读全文