Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: delete in ctor ! Pin
Roger Stoltz2-Jun-06 4:38
Roger Stoltz2-Jun-06 4:38 
GeneralRe: delete in ctor ! Pin
Zac Howland2-Jun-06 5:04
Zac Howland2-Jun-06 5:04 
JokeRe: delete in ctor ! Pin
BadKarma2-Jun-06 5:13
BadKarma2-Jun-06 5:13 
QuestionMigrating from VC6 to VS2005 [modified] Pin
Obliterator2-Jun-06 1:36
Obliterator2-Jun-06 1:36 
AnswerRe: Migrating from VC6 to VS2005 [modified] Pin
Chris Losinger2-Jun-06 1:58
professionalChris Losinger2-Jun-06 1:58 
GeneralRe: Migrating from VC6 to VS2005 [modified] Pin
Obliterator2-Jun-06 2:17
Obliterator2-Jun-06 2:17 
AnswerRe: Migrating from VC6 to VS2005 Pin
Michael Dunn2-Jun-06 7:46
sitebuilderMichael Dunn2-Jun-06 7:46 
GeneralRe: Migrating from VC6 to VS2005 Pin
Obliterator9-Jun-06 2:33
Obliterator9-Jun-06 2:33 
So I see. This is causing me some real headaches!!!
Is there no assignement that can be made to the iterator which means its invalid?

I used to assign NULL to iterators to mean they wern't being used.
Then I could simply check its NULL status and act accordingly.

There must be a way of saying an iterator is invalid.
If I assign it the value of vectorlist.end() I could test against that - but does initial end assignment remain valid after things are added to the vector list?

--

The Obliterator
QuestionRight way to delete a pointer Pin
zahid_ash2-Jun-06 1:31
zahid_ash2-Jun-06 1:31 
AnswerRe: Right way to delete a pointer Pin
Cedric Moonen2-Jun-06 1:40
Cedric Moonen2-Jun-06 1:40 
AnswerRe: Right way to delete a pointer Pin
Amar Sutar2-Jun-06 1:41
Amar Sutar2-Jun-06 1:41 
GeneralRe: Right way to delete a pointer [modified] Pin
Viorel.2-Jun-06 2:14
Viorel.2-Jun-06 2:14 
GeneralRe: Right way to delete a pointer [modified] Pin
Zac Howland2-Jun-06 3:50
Zac Howland2-Jun-06 3:50 
GeneralRe: Right way to delete a pointer [modified] Pin
Nish Nishant2-Jun-06 3:54
sitebuilderNish Nishant2-Jun-06 3:54 
GeneralRe: Right way to delete a pointer [modified] Pin
Zac Howland2-Jun-06 4:58
Zac Howland2-Jun-06 4:58 
GeneralRe: Right way to delete a pointer [modified] Pin
Nemanja Trifunovic2-Jun-06 6:17
Nemanja Trifunovic2-Jun-06 6:17 
GeneralRe: Right way to delete a pointer [modified] Pin
Zac Howland2-Jun-06 8:09
Zac Howland2-Jun-06 8:09 
GeneralRe: Right way to delete a pointer Pin
Nemanja Trifunovic2-Jun-06 12:50
Nemanja Trifunovic2-Jun-06 12:50 
GeneralRe: Right way to delete a pointer [modified] Pin
Nemanja Trifunovic2-Jun-06 4:48
Nemanja Trifunovic2-Jun-06 4:48 
AnswerRe: Right way to delete a pointer Pin
SteveKing2-Jun-06 3:40
SteveKing2-Jun-06 3:40 
AnswerRe: Right way to delete a pointer Pin
James R. Twine2-Jun-06 4:39
James R. Twine2-Jun-06 4:39 
QuestionCurrent directory Pin
racing572-Jun-06 1:30
racing572-Jun-06 1:30 
AnswerRe: Current directory Pin
Hamid_RT2-Jun-06 1:32
Hamid_RT2-Jun-06 1:32 
GeneralRe: Current directory Pin
racing572-Jun-06 1:49
racing572-Jun-06 1:49 
GeneralRe: Current directory Pin
Nibu babu thomas2-Jun-06 3:06
Nibu babu thomas2-Jun-06 3:06 

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.