copy constructor and an overloaded assignment operator?, C/C++ Programming

What is the distinction among a copy constructor and an overloaded assignment operator?

 

 

 

Posted Date: 3/15/2013 3:54:45 AM | Location : United States





A: A copy constructor builds up a new object using the content of the argument object. Any overloaded assignment operator assigns the contents of presented object to another existing object of the similar class.

Posted by | Posted Date: 3/15/2013 3:55:15 AM


Related Discussions:- copy constructor and an overloaded assignment operator?, Assignment Help, Ask Question on copy constructor and an overloaded assignment operator?, Get Answer, Expert's Help, copy constructor and an overloaded assignment operator? Discussions

Write discussion on copy constructor and an overloaded assignment operator?
Your posts are moderated
Related Questions
write a c++ program, that finds the minimum total number of shelves, including the initial one, required for this loading process.

Need help with C network program

Convert coordinate: class rect{                 private :                 float  x,y;                   public :                 void  input()

I need Profile and optimize a C++ library for speed Project Description: Optimize and profile an existing C++ library for speed. This library uses OpenMP and OpenCV and C+

Create the following program or propose one of your own. The program must include at least one of each of the following. Decision structure Repetitive structure fu

You are to develop a Clinic System. 1. Identify and briefly explain the objects, classes, methods and attributes for the Clinic System. 2. Draw a use case diagram to represen

Write a C program to compute the factorial of  5 i.e 1x2x3x4x5 etc #include stdio.h   void main()   {   char promt;      int factor;   factor = 1*2*3*4*5;   printf("The fac

Your task is to create a programming system for a ferry. The ferry transports passengers and vehicles (cars, busses, lorries and bicycles). The ferry has space for 200 passengers a


There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that