I have encountered a problem when trying to overload the '+' operator to add two Money objects rands and cents.
The error:
-----------
I encountered on the console is " 'Money Money::operator+(Money*, Money*)' must take either zero or one argument".
My resolution:
--------------
1) I tried to use the two integer values 'rands' and 'cents' in my class to store the result when adding the two money.
2) I also researched another way which was to only pass one object to the function (it seemed to work by not producing the same error, but I had to implement a getMoney() method to recieve the rands and cents individually...)