Click here to Skip to main content
15,906,626 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple application.exe Pin
Boder Coder24-Nov-05 2:55
Boder Coder24-Nov-05 2:55 
GeneralRe: Multiple application.exe Pin
Boder Coder24-Nov-05 2:58
Boder Coder24-Nov-05 2:58 
GeneralRe: Multiple application.exe Pin
Blake Miller28-Nov-05 12:58
Blake Miller28-Nov-05 12:58 
QuestionParallel Programming Pin
Gordon Robert Speirs23-Nov-05 23:09
professionalGordon Robert Speirs23-Nov-05 23:09 
Questionproject encryption Pin
pankaj_cout23-Nov-05 23:00
pankaj_cout23-Nov-05 23:00 
AnswerRe: project encryption Pin
toxcct23-Nov-05 23:06
toxcct23-Nov-05 23:06 
QuestionDestruction in C++ Pin
ita_cas23-Nov-05 22:28
ita_cas23-Nov-05 22:28 
AnswerRe: Destruction in C++ Pin
toxcct23-Nov-05 22:32
toxcct23-Nov-05 22:32 
why should it call delete ? to destry you object instance ? no, because the destructor is not there to destroy the object but to free the possible memory it could have alocated from its construction to the moment the destructor is called.

basically, if you allocate some memory dynamically from within the object methods (sonctructor included), free the memory at last in the destructor. if you don't, then let it empty. you could also use it to reset the fields to their default values...



TOXCCT >>> GEII power
[toxcct][VisualCalc]
AnswerRe: Destruction in C++ Pin
khan++23-Nov-05 22:35
khan++23-Nov-05 22:35 
AnswerRe: Destruction in C++ Pin
Owner drawn24-Nov-05 0:04
Owner drawn24-Nov-05 0:04 
AnswerRe: Destruction in C++ Pin
Gary R. Wheeler25-Nov-05 3:50
Gary R. Wheeler25-Nov-05 3:50 
QuestionHow do I close another program from my program Pin
shortwave23-Nov-05 22:15
shortwave23-Nov-05 22:15 
AnswerRe: How do I close another program from my program Pin
toxcct23-Nov-05 22:20
toxcct23-Nov-05 22:20 
GeneralRe: How do I close another program from my program Pin
ThatsAlok23-Nov-05 22:40
ThatsAlok23-Nov-05 22:40 
AnswerRe: How do I close another program from my program Pin
Cool Ju23-Nov-05 22:40
Cool Ju23-Nov-05 22:40 
AnswerRe: How do I close another program from my program Pin
sanket.patel25-Nov-05 23:04
sanket.patel25-Nov-05 23:04 
Questionunsigned 64 bits ? Pin
Cedric Moonen23-Nov-05 22:05
Cedric Moonen23-Nov-05 22:05 
AnswerRe: unsigned 64 bits ? Pin
toxcct23-Nov-05 22:12
toxcct23-Nov-05 22:12 
GeneralRe: unsigned 64 bits ? Pin
Cedric Moonen23-Nov-05 22:25
Cedric Moonen23-Nov-05 22:25 
GeneralRe: unsigned 64 bits ? Pin
toxcct23-Nov-05 22:29
toxcct23-Nov-05 22:29 
GeneralRe: unsigned 64 bits ? Pin
Cedric Moonen23-Nov-05 22:33
Cedric Moonen23-Nov-05 22:33 
GeneralRe: unsigned 64 bits ? Pin
toxcct23-Nov-05 22:37
toxcct23-Nov-05 22:37 
GeneralRe: unsigned 64 bits ? Pin
BadKarma23-Nov-05 23:41
BadKarma23-Nov-05 23:41 
AnswerRe: unsigned 64 bits ? Pin
cmk24-Nov-05 4:41
cmk24-Nov-05 4:41 
QuestionMultiple inheritance in vc++ Pin
infotechtata23-Nov-05 19:58
infotechtata23-Nov-05 19:58 

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.