摘要: #include<iostream>using namespace std;class Clock{ public: Clock(int hour=0,int minute=0,int second=0); void showTime() const; Clock& operator++(); Cl 阅读全文
posted @ 2023-04-18 13:26 不会JAVA的小袁 阅读(19) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;class Complex{ public: Complex(double r=0.0,double i=0.0):real(r),imag(i) {} Complex operator+(const Complex &c2 阅读全文
posted @ 2023-04-18 13:03 不会JAVA的小袁 阅读(16) 评论(0) 推荐(0)