Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: inline or macro Pin
Michael Schubert8-Jul-09 20:59
Michael Schubert8-Jul-09 20:59 
GeneralRe: inline or macro Pin
Rajesh R Subramanian8-Jul-09 21:55
professionalRajesh R Subramanian8-Jul-09 21:55 
AnswerRe: inline or macro Pin
CPallini8-Jul-09 21:09
mveCPallini8-Jul-09 21:09 
GeneralRe: inline or macro Pin
Rajesh R Subramanian8-Jul-09 21:57
professionalRajesh R Subramanian8-Jul-09 21:57 
AnswerRe: inline or macro Pin
Maximilien8-Jul-09 8:27
Maximilien8-Jul-09 8:27 
GeneralRe: inline or macro Pin
CPallini8-Jul-09 21:04
mveCPallini8-Jul-09 21:04 
Questiondifference b/w iterators and indexing for STL Pin
hawk23reddy8-Jul-09 6:32
hawk23reddy8-Jul-09 6:32 
AnswerRe: difference b/w iterators and indexing for STL Pin
minkowski8-Jul-09 6:57
minkowski8-Jul-09 6:57 
Hi,

This is about the only book you will ever need on the STL.

http://www.amazon.co.uk/C-Standard-Library-Tutorial-Reference/dp/0201379260/ref=sr_1_3?ie=UTF8&s=books&qid=1247072015&sr=8-3[^


Smile | :)


As for your question, it depends on which container you have. If you have a List you cannot use indexing. You must use an iterator to access it. Vector, dequeue offer indexing (random access) and so are faster to access than iterating through every element.
AnswerRe: difference b/w iterators and indexing for STL Pin
Stuart Dootson8-Jul-09 7:04
professionalStuart Dootson8-Jul-09 7:04 
QuestionHow to use gotoxy().....? Pin
Razanust8-Jul-09 6:08
Razanust8-Jul-09 6:08 
AnswerRe: How to use gotoxy().....? Pin
Michael Schubert8-Jul-09 6:58
Michael Schubert8-Jul-09 6:58 
AnswerRe: How to use gotoxy().....? Pin
Jijo.Raj8-Jul-09 7:20
Jijo.Raj8-Jul-09 7:20 
Questionnewbie to multi threading Pin
minkowski8-Jul-09 5:45
minkowski8-Jul-09 5:45 
AnswerRe: newbie to multi threading Pin
Stuart Dootson8-Jul-09 6:54
professionalStuart Dootson8-Jul-09 6:54 
GeneralRe: newbie to multi threading Pin
minkowski8-Jul-09 7:04
minkowski8-Jul-09 7:04 
GeneralRe: newbie to multi threading Pin
Stuart Dootson8-Jul-09 9:34
professionalStuart Dootson8-Jul-09 9:34 
GeneralRe: newbie to multi threading Pin
minkowski8-Jul-09 22:01
minkowski8-Jul-09 22:01 
GeneralRe: newbie to multi threading Pin
Stuart Dootson9-Jul-09 0:28
professionalStuart Dootson9-Jul-09 0:28 
GeneralRe: newbie to multi threading Pin
minkowski9-Jul-09 0:55
minkowski9-Jul-09 0:55 
GeneralRe: newbie to multi threading Pin
Stuart Dootson9-Jul-09 1:54
professionalStuart Dootson9-Jul-09 1:54 
GeneralRe: newbie to multi threading Pin
minkowski9-Jul-09 2:17
minkowski9-Jul-09 2:17 
GeneralRe: newbie to multi threading Pin
Stuart Dootson9-Jul-09 2:20
professionalStuart Dootson9-Jul-09 2:20 
GeneralRe: newbie to multi threading Pin
minkowski9-Jul-09 2:21
minkowski9-Jul-09 2:21 
GeneralRe: newbie to multi threading Pin
Stuart Dootson9-Jul-09 2:23
professionalStuart Dootson9-Jul-09 2:23 
QuestionRe: CFileDialog, disable "What's This?" menu Pin
mla1548-Jul-09 5:31
mla1548-Jul-09 5:31 

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.