0
Ok. In these lessons there is one thing I couldn't understand. What's the point about operator overloaded and why are they useful?
operators overloaded
2 Antworten
+ 4
Example is:- If you want to add two vectors using "+" operator, like A+B, then you can use operator overloading to make functionality of adding two vectors using "+" operator.
+ 2
Operator Overloading is done to use the operators directly to the objects instead of each and every variable ,data type. It is just like a function but a bit different.