+ 1
What is the problem with this?
Soooooo, I'm overloading operators for the first time and I don't know why there is an error like this! Help me! Thx! https://code.sololearn.com/cEa7Qbs6oVZF/#cpp
1 Odpowiedź
+ 3
Hi CeePlusPlus.
Good effort.
Here is a working version.
It seemed you had some trouble with incompatible data types.
Also you overloaded cout with a class you created, without accessing a readable attribute.
https://code.sololearn.com/c1owzohLbLN3/?ref=app