Click here to Skip to main content
15,914,642 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 15:36
Steve Messer27-Nov-03 15:36 
GeneralRe: vector question Pin
Joaquín M López Muñoz30-Nov-03 11:30
Joaquín M López Muñoz30-Nov-03 11:30 
GeneralRe: vector question Pin
Steve Messer1-Dec-03 7:03
Steve Messer1-Dec-03 7:03 
GeneralRe: vector question Pin
Joaquín M López Muñoz1-Dec-03 10:06
Joaquín M López Muñoz1-Dec-03 10:06 
GeneralRe: vector question Pin
Steve Messer1-Dec-03 11:37
Steve Messer1-Dec-03 11:37 
GeneralRe: vector question Pin
zhao wei4-Dec-03 20:41
zhao wei4-Dec-03 20:41 
GeneralRe: vector question Pin
Steve Messer5-Dec-03 10:10
Steve Messer5-Dec-03 10:10 
GeneralRe: vector question Pin
WREY9-Dec-03 4:16
WREY9-Dec-03 4:16 
I know why you're crashing!! It happened to me too, and before I discovered why, it was driving me crazy.

Here's the reason (seriously)!! You're trying to delete pointers to memory that have already been deleted.

I discovered that the compiler will call its own destructor on the vector, which will automatically do the cleaning up for you. But later, when you try doing the cleaning up yourself, you are in effect deleting memory that has already been deleted, and that's what causing the crash. IOW, DON'T do the deleting yourself. Just don't do it. The compiler has already done it for you. (I'm talking from experience. It happened to me also.)

Smile | :)

William

Fortes in fide et opere!
GeneralRe: vector question Pin
Steve Messer9-Dec-03 6:11
Steve Messer9-Dec-03 6:11 
GeneralCCheckListBox and CListBoxImpl Pin
bryces26-Nov-03 20:05
bryces26-Nov-03 20:05 
GeneralRe: CCheckListBox and CListBoxImpl Pin
coge26-Nov-03 22:13
coge26-Nov-03 22:13 
GeneralRe: CCheckListBox and CListBoxImpl Pin
bryces26-Nov-03 22:36
bryces26-Nov-03 22:36 
GeneralRe: CCheckListBox and CListBoxImpl Pin
coge26-Nov-03 23:49
coge26-Nov-03 23:49 
GeneralRe: CCheckListBox and CListBoxImpl Pin
bryces27-Nov-03 1:27
bryces27-Nov-03 1:27 
GeneralRe: CCheckListBox and CListBoxImpl Pin
coge27-Nov-03 9:59
coge27-Nov-03 9:59 
GeneralRe: CCheckListBox and CListBoxImpl Pin
Michael Dunn27-Nov-03 7:19
sitebuilderMichael Dunn27-Nov-03 7:19 
QuestionAuto completion not works? Pin
M.Khadem25-Nov-03 22:50
M.Khadem25-Nov-03 22:50 
GeneralSTL deque problem Pin
Bash21-Nov-03 3:12
Bash21-Nov-03 3:12 
GeneralRe: STL deque problem Pin
Roger Stewart21-Nov-03 7:03
professionalRoger Stewart21-Nov-03 7:03 
GeneralSTL set.h Performance Analysis Pin
BrianReeve20-Nov-03 15:35
BrianReeve20-Nov-03 15:35 
GeneralRe: STL set.h Performance Analysis Pin
Stefan Pedersen20-Nov-03 15:52
Stefan Pedersen20-Nov-03 15:52 
GeneralRe: STL set.h Performance Analysis Pin
Andreas Saurwein20-Nov-03 15:58
Andreas Saurwein20-Nov-03 15:58 
GeneralRe: STL set.h Performance Analysis Pin
BrianReeve21-Nov-03 9:38
BrianReeve21-Nov-03 9:38 
GeneralRe: STL set.h Performance Analysis Pin
Andreas Saurwein21-Nov-03 11:20
Andreas Saurwein21-Nov-03 11:20 
GeneralRe: STL set.h Performance Analysis Pin
Joaquín M López Muñoz22-Nov-03 8:18
Joaquín M López Muñoz22-Nov-03 8:18 

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.