摘要:
#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... 阅读全文
posted @ 2015-06-18 11:06
docyard
阅读(396)
评论(0)
推荐(0)
摘要:
1 void showTime() const; 2 Clock& operator ++(); 3 Clock operator ++(int); 4 private: 5 int hour,minute,second; 6 }; 7 Clock::Clock(i... 阅读全文
posted @ 2015-06-18 11:05
docyard
阅读(453)
评论(0)
推荐(0)
摘要:
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... 阅读全文
posted @ 2015-06-18 11:04
docyard
阅读(946)
评论(0)
推荐(0)

浙公网安备 33010602011771号