i'm just playing with the + operator & i cannot figure out how to declare it and use it 'explicitly' please help the code is below :
class compex{
    int real;
    int img;
public:
    compex();
    compex(int,int);
    compex& explicit operator + (const compex& P1)
    friend ostream& operator <<(ostream& out,const compex& R);
};
and the implementation of the operator is:
  compex& compex :: operator + (const compex& P1)
 {
    this->real += P1.real;
   this->img += P1.img;
   return *this;
 }
 
     
     
     
     
     
    