06 2015 档案
摘要:#includeusing namespace std;class Complex{public: Complex(double r=0.0,double i=0.0):real(r),imag(i){} Complex operator + (const Complex &c2) co...
阅读全文
摘要:1 void showTime() const; 2 Clock& operator ++(); 3 Clock operator ++(int); 4 private: 5 int hour,minute,second; 6 }; 7 Clock::Clock(i...
阅读全文
摘要:1 #include 2 using namespace std; 3 class Complex{ 4 public: 5 Complex(double r=0.0,double i=0.0):real(r),imag(i){} 6 friend Complex operator...
阅读全文

浙公网安备 33010602011771号