What is the reward of operator overloading?, C/C++ Programming

A: you can exploit by overloading standard operators on a class, the intuition of the users of that class. This allow users program in the language of the problem domain instead of in the language of the machine.

The final goal is to decrees the learning curve and the defect rate both.


Posted Date: 3/20/2013 3:43:34 AM | Location : United States

Related Discussions:- What is the reward of operator overloading?, Assignment Help, Ask Question on What is the reward of operator overloading?, Get Answer, Expert's Help, What is the reward of operator overloading? Discussions

Write discussion on What is the reward of operator overloading?
Your posts are moderated
Related Questions
Object Initialization An object of a derived class can be initialized to an object of a base class. If both the classes have similar data members, then no specific constructor

Write a program that performs character processing on 10 characters read in from a file, and writes the results to output files. Do NOT use loops or arrays to solve this problem. N

T o k e n :  Tokens  are  small  entities  in  a  program.    Example: identifiers,  keywords,  constants, operators, strings, etc.  These tokens are used almost in same wa

Unlike C++, other programming languages have associative arrays that allow array indices to be strings instead of just integers. You are to create a template class, SVector, that i

Is it possible to create your own header files? - Yes, it's possible to create a customized header file. - To do this, you just need to include function prototypes that you

Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? Becareful for the Leap year

if one won't explicitly call the destructor of a local; then how does he handle the above situation?

Constructors By definition, a constructor function of some class is a member function that automatically gets implemented whenever an instance of the class to which the constru

polishing the jewel game with c coding

Bubble sort C program: Write a program to define a bubble sort. void main()  {   clrscr();   int a[100],ch,n;   cout   cin>>n;   for (int i=0;i