Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to put a timer in an OSI model application Pin
chan114-Dec-09 5:25
chan114-Dec-09 5:25 
AnswerRe: How to put a timer in an OSI model application Pin
Moak8-Dec-09 11:56
Moak8-Dec-09 11:56 
Questionserial port program Pin
shanmugarajaa4-Dec-09 1:05
shanmugarajaa4-Dec-09 1:05 
QuestionRe: serial port program Pin
David Crow4-Dec-09 3:10
David Crow4-Dec-09 3:10 
QuestionMFC Dialog box Pin
amit10i4-Dec-09 0:28
amit10i4-Dec-09 0:28 
QuestionRe: MFC Dialog box Pin
David Crow4-Dec-09 3:12
David Crow4-Dec-09 3:12 
AnswerRe: MFC Dialog box Pin
amit10i6-Dec-09 22:40
amit10i6-Dec-09 22:40 
QuestionRe: MFC Dialog box Pin
David Crow7-Dec-09 2:53
David Crow7-Dec-09 2:53 
QuestionEXCEL.EXE is not getting killed Pin
KTTransfer3-Dec-09 22:55
KTTransfer3-Dec-09 22:55 
AnswerRe: EXCEL.EXE is not getting killed Pin
Madhu Nair3-Dec-09 23:45
Madhu Nair3-Dec-09 23:45 
AnswerRe: EXCEL.EXE is not getting killed Pin
T21024-Dec-09 3:17
T21024-Dec-09 3:17 
GeneralRe: EXCEL.EXE is not getting killed Pin
David Crow4-Dec-09 3:33
David Crow4-Dec-09 3:33 
GeneralRe: EXCEL.EXE is not getting killed Pin
T21024-Dec-09 3:57
T21024-Dec-09 3:57 
GeneralRe: EXCEL.EXE is not getting killed Pin
David Crow4-Dec-09 4:02
David Crow4-Dec-09 4:02 
GeneralRe: EXCEL.EXE is not getting killed Pin
T21024-Dec-09 12:40
T21024-Dec-09 12:40 
GeneralRe: EXCEL.EXE is not getting killed Pin
David Crow5-Dec-09 5:40
David Crow5-Dec-09 5:40 
GeneralRe: EXCEL.EXE is not getting killed Pin
KTTransfer6-Dec-09 21:01
KTTransfer6-Dec-09 21:01 
QuestionDeep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
hrishiS3-Dec-09 22:27
hrishiS3-Dec-09 22:27 
AnswerRe: Deep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
Cedric Moonen3-Dec-09 22:55
Cedric Moonen3-Dec-09 22:55 
GeneralRe: Deep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
hrishiS3-Dec-09 23:02
hrishiS3-Dec-09 23:02 
AnswerRe: Deep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
Rajesh R Subramanian3-Dec-09 23:12
professionalRajesh R Subramanian3-Dec-09 23:12 
GeneralRe: Deep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
Cedric Moonen3-Dec-09 23:13
Cedric Moonen3-Dec-09 23:13 
GeneralRe: Deep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
hrishiS3-Dec-09 23:59
hrishiS3-Dec-09 23:59 
Cedric Moonen wrote:
If you don't provide any constructor yourself, the default constructor will simply assign all variables,




But the default constructor doesn't have any parameter with it...So in that case to which value the member variable will get initialized to?...



Cedric Moonen wrote:
It is assigning all members from one class to another as I described at the begining of this message.


Does it meant that shallow copy is member to member copying of each member variable one by one...?
is it,...Copy Constructor is doing shallow copy?
In that case, if we dont provide an copy constructor does the default copy constructor provides deep copy?

-----------------------------
I am a beginner

GeneralRe: Deep copy and Shallow copy w.r.t Copy Constructor and Assignment Operator Pin
Cedric Moonen4-Dec-09 0:12
Cedric Moonen4-Dec-09 0:12 
QuestionHow can I close an CChildFrame within CHtmlView ? [modified] Pin
mesajflaviu3-Dec-09 22:14
mesajflaviu3-Dec-09 22:14 

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.