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
Define the Volatile Keyword Qualifiers in C Language? The volatile keyword proceed as a data type qualifier and a volatile variable is for dynamic use. E.G. for data that is to

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space".

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

In general, Roman numerals can be converted mathematically by simply assigning a numerical value to each letter, according to the chart below, and calculating a total: M=1000 | D=5

Presently we are using several spreadsheets to give weekly activity and income reports. Much of the information is being frequently re-keyed into several spreadsheets - we are look

write a program that counts the number of occurrences of the string in the n-th padovan string p(n)   program 1 : package test.padovanstring; public class PadovanString {

derivations 1. Regardless of the type of derivation, private members are inherited by the derived class, but cannot be accessed by the new member function of the derived class,

Project Description: We want to generate premium numbers for one of our application. What we need is: A program that generate 2, 3, 4, 5, 6, 7, 8 digits premium numbers

3. Write a program to encrypt and decrypt strings of characters using the following ciphers: a) Caesar cipher b) Vigenere cipher c) Matrix transposition cipher Your program shoul

BACKGROUND: FILE SYSTEMS  In a computer, a file system (sometimes written filesystem) is the way in which files are named and where they are placed logically for storage and ret