+ 2
What's wrong in this program??
2 odpowiedzi
+ 5
here is an example.
- you do not have values to use the "-" operator
- you tried overloading one object with it-self
https://code.sololearn.com/cx3kuuMj70tl/?ref=app
+ 4
Here is a copy from following a tutorial from
https://www.cprogramming.com/tutorial/operator_overloading.html
https://code.sololearn.com/cKAxeij8j24t/?ref=app