Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use at for STL list Pin
Richard MacCutchan27-May-10 0:54
mveRichard MacCutchan27-May-10 0:54 
AnswerRe: How to use at for STL list Pin
Cedric Moonen27-May-10 0:57
Cedric Moonen27-May-10 0:57 
AnswerRe: How to use at for STL list Pin
Maximilien27-May-10 1:00
Maximilien27-May-10 1:00 
AnswerRe: How to use at for STL list Pin
Aescleal27-May-10 1:06
Aescleal27-May-10 1:06 
GeneralRe: How to use at for STL list Pin
VC_RYK27-May-10 1:38
VC_RYK27-May-10 1:38 
AnswerRe: How to use at for STL list Pin
CPallini27-May-10 1:53
mveCPallini27-May-10 1:53 
GeneralRe: How to use at for STL list Pin
VC_RYK27-May-10 2:07
VC_RYK27-May-10 2:07 
GeneralRe: How to use at for STL list Pin
El Corazon27-May-10 6:48
El Corazon27-May-10 6:48 
depending on how the at() is used you can shortcut operations by holding the current iterator around as long as add/delete/insert operations have not been done. Using the difference between last at() and current at() you can move up or down the list. It takes some work, but if you are doing big searches you wouldn't always want to start at the beginning unless the new at() command is closer to the start or the end. Smile | :) and if you do add/delete/insert, just invalidate the iterator, and start over as you have done.
_________________________
John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

GeneralRe: How to use at for STL list Pin
CPallini27-May-10 7:52
mveCPallini27-May-10 7:52 
GeneralRe: How to use at for STL list Pin
El Corazon27-May-10 7:57
El Corazon27-May-10 7:57 
GeneralRe: How to use at for STL list Pin
CPallini27-May-10 8:06
mveCPallini27-May-10 8:06 
AnswerRe: How to use at for STL list Pin
El Corazon27-May-10 6:53
El Corazon27-May-10 6:53 
QuestionCEdit Pin
john563227-May-10 0:20
john563227-May-10 0:20 
AnswerRe: CEdit Pin
Aescleal27-May-10 0:29
Aescleal27-May-10 0:29 
GeneralRe: CEdit Pin
john563227-May-10 0:41
john563227-May-10 0:41 
GeneralRe: CEdit Pin
Iain Clarke, Warrior Programmer27-May-10 9:25
Iain Clarke, Warrior Programmer27-May-10 9:25 
Questionhi Pin
gmallax27-May-10 0:17
gmallax27-May-10 0:17 
AnswerRe: hi Pin
Code-o-mat27-May-10 0:22
Code-o-mat27-May-10 0:22 
AnswerForward Declaration Pin
Aescleal27-May-10 0:24
Aescleal27-May-10 0:24 
QuestionEditing Visual Studio's MSI Setup for "Launch Now" option Pin
rahul.kulshreshtha26-May-10 23:48
rahul.kulshreshtha26-May-10 23:48 
QuestionC++ DLL question Pin
Keith Vitali26-May-10 22:41
Keith Vitali26-May-10 22:41 
AnswerRe: C++ DLL question Pin
hanq_3891013026-May-10 23:43
hanq_3891013026-May-10 23:43 
AnswerRe: C++ DLL question Pin
Aescleal27-May-10 0:01
Aescleal27-May-10 0:01 
Questionis it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 15:53
ForNow26-May-10 15:53 
AnswerRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
«_Superman_»26-May-10 17:42
professional«_Superman_»26-May-10 17:42 

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.