Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Create a roundRectange dialog Pin
Cedric Moonen13-Jul-07 2:17
Cedric Moonen13-Jul-07 2:17 
GeneralRe: Create a roundRectange dialog Pin
kcynic13-Jul-07 3:19
kcynic13-Jul-07 3:19 
GeneralRe: Create a roundRectange dialog Pin
kcynic13-Jul-07 3:22
kcynic13-Jul-07 3:22 
QuestionRemote debugging setting Pin
tom groezer13-Jul-07 1:53
tom groezer13-Jul-07 1:53 
AnswerRe: Remote debugging setting Pin
Sam_c13-Jul-07 2:23
Sam_c13-Jul-07 2:23 
QuestionList vs Vector Pin
tom groezer13-Jul-07 1:37
tom groezer13-Jul-07 1:37 
AnswerRe: List vs Vector Pin
Arman S.13-Jul-07 2:35
Arman S.13-Jul-07 2:35 
AnswerRe: List vs Vector Pin
James R. Twine13-Jul-07 3:28
James R. Twine13-Jul-07 3:28 
   You may be thinking of map or multimap.  Those collections can offer faster search/find times than a vector with a large number of items.  I believe that walking a vector or list end-to-end in results in no significant performance difference (unless you consider memory locality).

   If you are asking why certain collections (map, set, etc.) offer their own find(...) members instead of relying on the standard find(...) function, is is because the standard function requires a certain type of iterator (which a collection may not support), and searching some collections by begin() and end() may not take advantage of any optimizations/functionality within the collection itself, which is the case with map::find(...) vs. ::find(...).

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

AnswerRe: List vs Vector Pin
DevMentor.org13-Jul-07 12:24
DevMentor.org13-Jul-07 12:24 
Questionpush_back Pin
tom groezer13-Jul-07 1:30
tom groezer13-Jul-07 1:30 
AnswerRe: push_back Pin
CPallini13-Jul-07 2:25
mveCPallini13-Jul-07 2:25 
AnswerRe: push_back Pin
Cyrilix13-Jul-07 2:42
Cyrilix13-Jul-07 2:42 
AnswerRe: push_back Pin
James R. Twine13-Jul-07 3:35
James R. Twine13-Jul-07 3:35 
GeneralRe: push_back Pin
Andy Moore13-Jul-07 6:42
Andy Moore13-Jul-07 6:42 
AnswerRe: push_back Pin
DevMentor.org14-Jul-07 9:49
DevMentor.org14-Jul-07 9:49 
QuestionGetting an error message Pin
chaitannya_m13-Jul-07 1:16
chaitannya_m13-Jul-07 1:16 
AnswerRe: Getting an error message Pin
Cedric Moonen13-Jul-07 1:22
Cedric Moonen13-Jul-07 1:22 
QuestionRe: Getting an error message Pin
Hamid_RT13-Jul-07 1:30
Hamid_RT13-Jul-07 1:30 
AnswerRe: Getting an error message Pin
chaitannya_m13-Jul-07 1:33
chaitannya_m13-Jul-07 1:33 
GeneralRe: Getting an error message Pin
Hamid_RT13-Jul-07 1:40
Hamid_RT13-Jul-07 1:40 
GeneralRe: Getting an error message Pin
chaitannya_m13-Jul-07 4:19
chaitannya_m13-Jul-07 4:19 
GeneralRe: Getting an error message Pin
Hamid_RT13-Jul-07 6:15
Hamid_RT13-Jul-07 6:15 
AnswerRe: Getting an error message Pin
Sam_c13-Jul-07 2:14
Sam_c13-Jul-07 2:14 
QuestionCalling an SDI app from a Dialog Pin
marjaan13-Jul-07 0:25
marjaan13-Jul-07 0:25 
AnswerRe: Calling an SDI app from a Dialog Pin
_AnsHUMAN_ 13-Jul-07 0:33
_AnsHUMAN_ 13-Jul-07 0:33 

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.