C++ is a powerful language and I want to know about operator overloading .Can someone tell me the points to consider while doing or while using the concept of operator overloading.
C++ is a powerful language and I want to know about operator overloading .Can someone tell me the points to consider while doing or while using the concept of operator overloading.
This is a very big concept to put all the points. But to say in short for you Operator overloading is a concept in which a single operator can take up several functions as desired by programmers depending on the argument taken by the operator.
Here are some useful refferences. You'll get millions if you hit a google search.
http://msdn2.microsoft.com/en-us/library/5tk49fh2.aspx
Here's the wiki link...
Operator overloading - Wikipedia, the free encyclopedia
Cheers,
Kalayama
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"