Click here to Skip to main content
15,881,838 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 11:52
professionalRichard Andrew x6412-Feb-06 11:52 
AnswerRe: Question about 'new' and 'delete' Pin
rspielmann12-Feb-06 12:12
rspielmann12-Feb-06 12:12 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 12:39
professionalRichard Andrew x6412-Feb-06 12:39 
AnswerRe: Question about 'new' and 'delete' Pin
Ryan Binns12-Feb-06 12:26
Ryan Binns12-Feb-06 12:26 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 12:38
professionalRichard Andrew x6412-Feb-06 12:38 
AnswerRe: Question about 'new' and 'delete' Pin
Michael Dunn12-Feb-06 12:56
sitebuilderMichael Dunn12-Feb-06 12:56 
GeneralRe: Question about 'new' and 'delete' Pin
Richard Andrew x6412-Feb-06 13:00
professionalRichard Andrew x6412-Feb-06 13:00 
AnswerRe: Question about 'new' and 'delete' Pin
ThatsAlok14-Feb-06 17:30
ThatsAlok14-Feb-06 17:30 
Troposphere wrote:
for ( a = 0; a < Count; a ++ ) delete pArray[a];

You don't need to delete Individual memory...
you can simply delete all memory allocated to the array in one go :-
delete [] pArray




"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Questionfopen error (due to string??) Pin
kittymew12-Feb-06 9:38
kittymew12-Feb-06 9:38 
AnswerRe: fopen error (due to string??) Pin
Spykraft13-Feb-06 2:03
Spykraft13-Feb-06 2:03 
QuestionNeed help with HugeInt class program Pin
mattherb18212-Feb-06 8:37
mattherb18212-Feb-06 8:37 
AnswerRe: Need help with HugeInt class program Pin
rspielmann12-Feb-06 12:18
rspielmann12-Feb-06 12:18 
GeneralRe: Need help with HugeInt class program Pin
mattherb18212-Feb-06 15:42
mattherb18212-Feb-06 15:42 
QuestionShell Namespace; Going Async Pin
__int6412-Feb-06 6:52
__int6412-Feb-06 6:52 
QuestionHelp?? How to Fade out text using CStatic Pin
LivingThoughts12-Feb-06 6:45
LivingThoughts12-Feb-06 6:45 
AnswerRe: Help?? How to Fade out text using CStatic Pin
Iain Clarke, Warrior Programmer12-Feb-06 12:33
Iain Clarke, Warrior Programmer12-Feb-06 12:33 
GeneralRe: Help?? How to Fade out text using CStatic Pin
LivingThoughts12-Feb-06 16:24
LivingThoughts12-Feb-06 16:24 
QuestionScrollbar in CFormView does not work,why? Pin
lostangels12-Feb-06 4:46
lostangels12-Feb-06 4:46 
AnswerRe: Scrollbar in CFormView does not work,why? Pin
Optimus Chaos12-Feb-06 5:57
Optimus Chaos12-Feb-06 5:57 
QuestionScrollbar in CFormView does not work,why? Pin
lostangels12-Feb-06 4:42
lostangels12-Feb-06 4:42 
QuestionCalling .m files from C++ Pin
misugi12-Feb-06 2:49
misugi12-Feb-06 2:49 
AnswerRe: Calling .m files from C++ Pin
Nick_Kisialiou12-Feb-06 9:56
Nick_Kisialiou12-Feb-06 9:56 
GeneralRe: Calling .m files from C++ Pin
misugi13-Feb-06 22:23
misugi13-Feb-06 22:23 
Questionvisual studio 2003 MFC/SDI help drawing Pin
ALTF412-Feb-06 1:02
ALTF412-Feb-06 1:02 
AnswerRe: visual studio 2003 MFC/SDI help drawing Pin
try8812-Feb-06 6:28
try8812-Feb-06 6:28 

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.