10 2022 档案

摘要:Info.hpp #include <iostream> #include <vector> #include <string> #include <iomanip> using namespace std; class ReserveInfo { private: string nick_name 阅读全文
posted @ 2022-10-25 20:22 左绪青 阅读(19) 评论(0) 推荐(0)
摘要: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} 阅读全文
posted @ 2022-10-18 17:36 左绪青 阅读(22) 评论(0) 推荐(0)
摘要:任务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 阅读全文
posted @ 2022-10-05 12:31 左绪青 阅读(25) 评论(0) 推荐(0)