Saturday, September 5, 2009
c operator overloading, define operator, double and operator, logical and operator, operator assignment, operator c programming, operator c#
• Operators :- Once we know of the existence of variables and constants, we can begin to operate with them. For that purpose, C++ integrates operators and in C++ operators the sign of the operators are not in alphabets they are available in all keyboards.
C++ provides more than 30 operators, covering basic arithmetic, bit manipulation, indirection, comparisons, logical operations and more. Almost all operators can be overloaded for user-defined types, with a few notable exceptions such as member access (. and .*).The rich set of over-loadable operators is central to using C++ as a domain specific language. The over-loadable operators are also an essential part of many advanced C++ programming techniques, such as smart pointers. Overloading an operator does not change the precedence of calculations involving the operator, nor does it change the number of operands that the operator uses (any operand may however be ignored).
For more interesting Article’s………Click Here
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment