Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStatic problem Pin
15-Oct-01 10:40
suss15-Oct-01 10:40 
GeneralRe: CStatic problem Pin
J Patel15-Oct-01 11:06
J Patel15-Oct-01 11:06 
GeneralRe: CStatic problem Pin
Michael Dunn15-Oct-01 12:34
sitebuilderMichael Dunn15-Oct-01 12:34 
Questionnew and delete, why does this work? Pin
Sam C15-Oct-01 10:22
Sam C15-Oct-01 10:22 
AnswerRe: new and delete, why does this work? Pin
Tim Smith15-Oct-01 10:27
Tim Smith15-Oct-01 10:27 
GeneralRe: new and delete, why does this work? Pin
Sam C15-Oct-01 11:54
Sam C15-Oct-01 11:54 
AnswerRe: new and delete, why does this work? Pin
Tomasz Sowinski15-Oct-01 10:28
Tomasz Sowinski15-Oct-01 10:28 
GeneralRe: new and delete, why does this work? Pin
Sam C15-Oct-01 11:52
Sam C15-Oct-01 11:52 
Thanks for some reason I was thinking it "destroyed" everything. So only the pointers are deleted but not the actual value stored in memory. So if these weren't pointers then we would have a "memory" leak problem? Say for instance we remove the CWnd, but keep int and long we call delete would those values be removed from memory?

Sam C
----
Systems Manager
Hospitality Marketing Associates

GeneralRe: new and delete, why does this work? Pin
Mike Burston15-Oct-01 12:29
Mike Burston15-Oct-01 12:29 
GeneralRe: new and delete, why does this work? Pin
PJ Arends15-Oct-01 13:07
professionalPJ Arends15-Oct-01 13:07 
GeneralRe: new and delete, why does this work? Pin
Sam C15-Oct-01 13:46
Sam C15-Oct-01 13:46 
AnswerRe: new and delete, why does this work? Pin
Sam C15-Oct-01 13:48
Sam C15-Oct-01 13:48 
GeneralATL Pin
mimi15-Oct-01 9:13
mimi15-Oct-01 9:13 
GeneralCArray "How to" Pin
RobJones15-Oct-01 7:23
RobJones15-Oct-01 7:23 
GeneralRe: CArray "How to" Pin
Carlos Antollini15-Oct-01 7:38
Carlos Antollini15-Oct-01 7:38 
GeneralRe: CArray "How to" Pin
RobJones15-Oct-01 7:55
RobJones15-Oct-01 7:55 
GeneralRe: CArray "How to" Pin
Carlos Antollini15-Oct-01 8:22
Carlos Antollini15-Oct-01 8:22 
GeneralRe: CArray "How to" Pin
Carlos Antollini15-Oct-01 8:40
Carlos Antollini15-Oct-01 8:40 
GeneralRe: CArray "How to" Pin
RobJones15-Oct-01 9:20
RobJones15-Oct-01 9:20 
GeneralRe: CArray "How to" Pin
Christian Graus15-Oct-01 10:29
protectorChristian Graus15-Oct-01 10:29 
GeneralRe: CArray "How to" Pin
RobJones15-Oct-01 11:15
RobJones15-Oct-01 11:15 
GeneralRe: CArray "How to" Pin
Christian Graus15-Oct-01 11:34
protectorChristian Graus15-Oct-01 11:34 
GeneralRe: CArray "How to" Pin
Mike Burston15-Oct-01 11:57
Mike Burston15-Oct-01 11:57 
GeneralHelp: Software Distribution in Visual C++ Pin
Agusti15-Oct-01 6:37
Agusti15-Oct-01 6:37 
GeneralRe: Help: Software Distribution in Visual C++ Pin
Carlos Antollini15-Oct-01 6:44
Carlos Antollini15-Oct-01 6:44 

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.