    C++_____________________________651

)

//    

Complex Complex: .-operator-() const

(

Complex R;

R.Re = -Re;

R.Im = -Im;

return R;

//   
Complex & Complex::operator=(const Complex &R)
(

Re = R.Re;

Im = R.Im;

return *this; //  
)

      -: Re  
  ,  Im   .    -
      0.



Complex operator+(const Complex &) const;

    .  ,    -
,      .   -
     + ,     Complex, , -
  ,    A.operator+(B).


Complex operator+() const;

    ,   
.

      .

       
R  Complex,     .   -
         
Re  Im,     ,    
.        -
 .

        
 Re  Im.     ,   *this.
 this      .  
 ,       -
.   .

       = ,   -
  Complex,     A.operator=(B).   -
,     =  =  ?   -
   ,      
 B.operator=(C).       
A.operator=(B.operator=(C)).  ,   , ,  -
     .   ,   
 *this.      -
.