Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using graphics in console application Pin
kflrei27-May-06 2:05
kflrei27-May-06 2:05 
GeneralRe: Using graphics in console application Pin
Maxwell Chen22-May-06 1:08
Maxwell Chen22-May-06 1:08 
QuestionUsing graphics in console application Pin
kflrei22-May-06 0:31
kflrei22-May-06 0:31 
AnswerRe: Using graphics in console application Pin
kakan22-May-06 0:38
professionalkakan22-May-06 0:38 
GeneralRe: Using graphics in console application Pin
kflrei27-May-06 2:04
kflrei27-May-06 2:04 
QuestionCopy Constructor Pin
Subramaniam s.V.22-May-06 0:26
Subramaniam s.V.22-May-06 0:26 
AnswerRe: Copy Constructor Pin
Sarath C22-May-06 0:30
Sarath C22-May-06 0:30 
AnswerRe: Copy Constructor Pin
Laxman Auti22-May-06 1:12
Laxman Auti22-May-06 1:12 
Subramaniam wrote:

1. What a COPY CONSTRUCTOR actually does and when it is used..


It is used to copy the contents of the Existing object to new born object
Subramaniam wrote:
2. Please let me know as when we go about writing our own COPY CONSTRUCTORS(though system provides one by default)..


When you want to give the limited access to your object's from copy
for e.g
by making it private only member functions can access and public access denied

Subramaniam wrote:
3. What a assigment operator does and in what way is it different from COPY CONSTRUCTOR..


Assignment operator initialises the existing object by another existing object
Copy constructer initialises the new born object by existing object

for e.g
CDemo d2;
CDemo d=d2; //copy constructer
CDemo d1(d2); //copy constructer
CDemo d3;
d3=d2; //Assignment operator


Knock out 't' from can't,
You can if you think you can
Cool | :cool:
GeneralRe: Copy Constructor Pin
Jax_qqq22-May-06 1:16
Jax_qqq22-May-06 1:16 
GeneralRe: Copy Constructor Pin
Laxman Auti22-May-06 2:12
Laxman Auti22-May-06 2:12 
GeneralRe: Copy Constructor Pin
ThatsAlok22-May-06 4:16
ThatsAlok22-May-06 4:16 
GeneralRe: Copy Constructor Pin
Subramaniam s.V.22-May-06 1:19
Subramaniam s.V.22-May-06 1:19 
AnswerRe: Copy Constructor Pin
Laxman Auti22-May-06 2:10
Laxman Auti22-May-06 2:10 
QuestionIO completion port with socket [modified] Pin
followait22-May-06 0:04
followait22-May-06 0:04 
AnswerRe: IO completion port with socket [modified] Pin
cmk22-May-06 11:48
cmk22-May-06 11:48 
GeneralRe: IO completion port with socket [modified] Pin
followait22-May-06 17:07
followait22-May-06 17:07 
GeneralRe: IO completion port with socket [modified] Pin
followait23-May-06 16:16
followait23-May-06 16:16 
GeneralRe: IO completion port with socket [modified] Pin
cmk23-May-06 17:52
cmk23-May-06 17:52 
QuestionHttpSendRequest fails for https Pin
gbabu1721-May-06 23:45
gbabu1721-May-06 23:45 
AnswerRe: HttpSendRequest fails for https Pin
gbabu1722-May-06 4:58
gbabu1722-May-06 4:58 
AnswerRe: HttpSendRequest fails for https Pin
surfman1922-May-06 12:30
surfman1922-May-06 12:30 
QuestionListBox OnDblclkSout() Event Pin
VinayCool21-May-06 23:28
VinayCool21-May-06 23:28 
QuestionRe: ListBox OnDblclkSout() Event Pin
Nibu babu thomas21-May-06 23:36
Nibu babu thomas21-May-06 23:36 
AnswerRe: ListBox OnDblclkSout() Event Pin
VinayCool21-May-06 23:45
VinayCool21-May-06 23:45 
AnswerRe: ListBox OnDblclkSout() Event Pin
Laxman Auti22-May-06 0:07
Laxman Auti22-May-06 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.