Click here to Skip to main content
15,888,340 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File handaling problem Pin
Eytukan2-Mar-09 6:56
Eytukan2-Mar-09 6:56 
GeneralRe: File handaling problem Pin
Ric Ashton2-Mar-09 6:59
Ric Ashton2-Mar-09 6:59 
GeneralRe: File handaling problem Pin
Richard Andrew x642-Mar-09 7:44
professionalRichard Andrew x642-Mar-09 7:44 
AnswerRe: File handaling problem Pin
Maximilien2-Mar-09 6:53
Maximilien2-Mar-09 6:53 
GeneralRe: File handaling problem Pin
Davitor2-Mar-09 7:05
Davitor2-Mar-09 7:05 
GeneralRe: File handaling problem Pin
Maximilien2-Mar-09 7:16
Maximilien2-Mar-09 7:16 
AnswerRe: File handaling problem Pin
David Crow2-Mar-09 9:01
David Crow2-Mar-09 9:01 
QuestionConstructor / Destructor Question Pin
Richard Andrew x642-Mar-09 5:15
professionalRichard Andrew x642-Mar-09 5:15 
Given the struct declaration thus:

struct TestStruct
{
    CObject   obj[ 20 ];
};


If I say,

TestStruct *ts = new TestStruct;


Does the CRT call the constructors for any of the CObject's, either all of them, or just the first one in the array?

And does the same answer apply to calling the destructors when I delete ts ?
AnswerRe: Constructor / Destructor Question Pin
«_Superman_»2-Mar-09 5:31
professional«_Superman_»2-Mar-09 5:31 
GeneralRe: Constructor / Destructor Question Pin
Richard Andrew x642-Mar-09 6:10
professionalRichard Andrew x642-Mar-09 6:10 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 6:42
Eytukan2-Mar-09 6:42 
GeneralRe: Constructor / Destructor Question Pin
Perisic, Aleksandar2-Mar-09 7:37
Perisic, Aleksandar2-Mar-09 7:37 
GeneralRe: Constructor / Destructor Question Pin
Richard Andrew x642-Mar-09 7:39
professionalRichard Andrew x642-Mar-09 7:39 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 19:34
Eytukan2-Mar-09 19:34 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 19:32
Eytukan2-Mar-09 19:32 
GeneralRe: Constructor / Destructor Question Pin
Perisic, Aleksandar2-Mar-09 19:54
Perisic, Aleksandar2-Mar-09 19:54 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 20:03
Eytukan2-Mar-09 20:03 
GeneralRe: Constructor / Destructor Question Pin
Richard Andrew x642-Mar-09 7:38
professionalRichard Andrew x642-Mar-09 7:38 
GeneralRe: Constructor / Destructor Question Pin
Eytukan2-Mar-09 19:46
Eytukan2-Mar-09 19:46 
AnswerRe: Constructor / Destructor Question Pin
Perisic, Aleksandar2-Mar-09 5:38
Perisic, Aleksandar2-Mar-09 5:38 
QuestionNeed help on CDateTimeCtrl class Pin
John5022-Mar-09 4:25
John5022-Mar-09 4:25 
AnswerRe: Need help on CDateTimeCtrl class Pin
Perisic, Aleksandar2-Mar-09 6:14
Perisic, Aleksandar2-Mar-09 6:14 
GeneralRe: Need help on CDateTimeCtrl class Pin
John5022-Mar-09 6:57
John5022-Mar-09 6:57 
QuestionPointer Pin
dehseth2-Mar-09 4:25
dehseth2-Mar-09 4:25 
QuestionRe: Pointer Pin
prasad_som2-Mar-09 4:54
prasad_som2-Mar-09 4:54 

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.