Overloading operator for complex numbersfixed that part! i was including <complex> which messed up the whole thing! i also have to overload...
Overloading operator for complex numbersoh right! so how about this [code]complex(double r, double i){ this->r = r; this->i = i; } [/c...
Overloading operator for complex numberswhat is wrong with the way it is written?
Overloading operator for complex numbersit's just a constructor that takes 2 arguments. I had to include it as part of my assignment. is tha...
Overloading operator for complex numbersWhoops. That must have come across in copy and paste. in my code it is just [code]complex(double r...
This user does not accept Private Messages