摘要: #include #include using namespace std; class Complex { public: Complex(float r=0,float i =0):_r(r),_i(i) { } void print() const { cout<<" _r "<<_r<<" _i "<<_i<<endl; } private: float _r; float _i; public: const Complex& operator+=(const Complex & 阅读全文
posted @ 2013-08-06 19:19 shouqiang Wei 阅读(382) 评论(0) 推荐(0) 编辑