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

C / C++ / MFC

 
GeneralRe: C++ Question. Pin
Steve S19-Feb-04 23:16
Steve S19-Feb-04 23:16 
GeneralRe: C++ Question. Pin
WREY19-Feb-04 7:20
WREY19-Feb-04 7:20 
GeneralRe: C++ Question. Pin
WREY19-Feb-04 7:15
WREY19-Feb-04 7:15 
GeneralRe: C++ Question. Pin
David Crow19-Feb-04 7:22
David Crow19-Feb-04 7:22 
GeneralRe: C++ Question. Pin
WREY19-Feb-04 7:46
WREY19-Feb-04 7:46 
GeneralRe: C++ Question. Pin
WREY19-Feb-04 8:08
WREY19-Feb-04 8:08 
GeneralRe: C++ Question. Pin
David Crow19-Feb-04 9:14
David Crow19-Feb-04 9:14 
GeneralRe: C++ Question. Pin
Andy Brummer19-Feb-04 10:04
sitebuilderAndy Brummer19-Feb-04 10:04 
Any array value that you assign to needs to have delete called on it. If you need to use delete rather then using one of the various smart pointers out there, then I've found the following very helpful.
1. Always initialize all pointers to NULL.
2. Set the pointer to NULL after you call delete.

Note. it is always safe to call delete NULL, but smart pointers are much better.

BTW. it looks like you are only deleting the first 10 entries in a 121+ element array. You might just need to fix by changing your destructor loop to
for(int i=0; i
GeneralWindows media player plugin Pin
rkyawal19-Feb-04 4:01
rkyawal19-Feb-04 4:01 
GeneralRe: Windows media player plugin Pin
Michael Dunn19-Feb-04 4:37
sitebuilderMichael Dunn19-Feb-04 4:37 
GeneralDialog fails to open Pin
TallAndyB19-Feb-04 3:48
TallAndyB19-Feb-04 3:48 
GeneralRe: Dialog fails to open Pin
RChin19-Feb-04 4:10
RChin19-Feb-04 4:10 
GeneralRe: Dialog fails to open Pin
TallAndyB19-Feb-04 4:19
TallAndyB19-Feb-04 4:19 
GeneralRe: Dialog fails to open Pin
David Crow19-Feb-04 5:45
David Crow19-Feb-04 5:45 
GeneralRe: Dialog fails to open Pin
TallAndyB19-Feb-04 6:39
TallAndyB19-Feb-04 6:39 
GeneralCDialogBar / MDI Question.. should be easy Pin
RobJones19-Feb-04 3:45
RobJones19-Feb-04 3:45 
GeneralNever mind.. Pin
RobJones19-Feb-04 6:10
RobJones19-Feb-04 6:10 
GeneralDatabase Design Question Pin
Nitron19-Feb-04 3:38
Nitron19-Feb-04 3:38 
GeneralRe: Database Design Question Pin
RChin19-Feb-04 4:21
RChin19-Feb-04 4:21 
GeneralRe: Database Design Question Pin
basementman19-Feb-04 8:05
basementman19-Feb-04 8:05 
Generaltime synchronisation Pin
styve19-Feb-04 3:36
styve19-Feb-04 3:36 
GeneralRe: time synchronisation Pin
David Crow19-Feb-04 5:50
David Crow19-Feb-04 5:50 
GeneralMake Edit Control un-editable Pin
J.B.19-Feb-04 3:27
J.B.19-Feb-04 3:27 
GeneralRe: Make Edit Control un-editable Pin
Maximilien19-Feb-04 3:37
Maximilien19-Feb-04 3:37 
GeneralRe: Make Edit Control un-editable Pin
dabs19-Feb-04 3:50
dabs19-Feb-04 3:50 

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.