Hi below is an example from the book on overloading with the use of return*this;
but i'm getting an error message when i try to compile it to see how it works.
"[Error] definition of implicitly-declared 'Rational& Rational::operator=(const Rational&)'"
normally i'm able to trouble shoot errors i get from the book examples on my own which has help me learn when creating my own code. But i don't understand this concept enough to trouble shoot this without any assistance.
any clarification would be greatly appreciated. thanks