Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Overloaded Operators!

Status
Not open for further replies.

ranjitvictor

Programmer
Jul 29, 2000
11
IN
My Sybase book says "PowerBuilder does not permit user-defined operator overloading". What does it mean?
 
I always quiver at the thought of having to explain/define somebody else's lessons. I'm a C++ programmer at heart, and the the term 'overloading' simply means allowing more than one function to an operator. For example, the * symbol is not only used to multiply two values, but also as a pointer to assign an address to an variable (identifier as OOP programmers call them).
 
In C++ you can overload an operator so that operators operate on complex data types as well as simple ones. i.e. you can add two classes and the overloaded oeprator knows what to do cause it's programmed that way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top