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

C / C++ / MFC

 
AnswerRe: how to free library by dll self Pin
David Crow25-Jun-03 3:09
David Crow25-Jun-03 3:09 
QuestionApplication that handles 200 000+ Lines? Pin
Steve The Plant24-Jun-03 16:01
Steve The Plant24-Jun-03 16:01 
AnswerRe: Application that handles 200 000+ Lines? Pin
J. Dunlap24-Jun-03 16:14
J. Dunlap24-Jun-03 16:14 
GeneralRe: Application that handles 200 000+ Lines? Pin
Steve The Plant24-Jun-03 16:21
Steve The Plant24-Jun-03 16:21 
GeneralRe: Application that handles 200 000+ Lines? Pin
David Crow25-Jun-03 3:14
David Crow25-Jun-03 3:14 
AnswerRe: Application that handles 200 000+ Lines? Pin
Steve The Plant24-Jun-03 17:17
Steve The Plant24-Jun-03 17:17 
GeneralRe: Application that handles 200 000+ Lines? Pin
basementman25-Jun-03 5:11
basementman25-Jun-03 5:11 
QuestionDrawing without flicker? Pin
Aidman24-Jun-03 15:25
Aidman24-Jun-03 15:25 
AnswerRe: Drawing without flicker? Pin
John M. Drescher24-Jun-03 15:45
John M. Drescher24-Jun-03 15:45 
AnswerRe: Drawing without flicker? Pin
Dave Bryant24-Jun-03 15:46
Dave Bryant24-Jun-03 15:46 
GeneralRe: Drawing without flicker? Pin
Aidman24-Jun-03 15:51
Aidman24-Jun-03 15:51 
GeneralRe: Drawing without flicker? Pin
John M. Drescher24-Jun-03 15:54
John M. Drescher24-Jun-03 15:54 
GeneralRe: Drawing without flicker? Pin
Aidman24-Jun-03 15:59
Aidman24-Jun-03 15:59 
GeneralRe: Drawing without flicker? Pin
J. Dunlap24-Jun-03 16:12
J. Dunlap24-Jun-03 16:12 
GeneralRe: Drawing without flicker? Pin
Ryan Binns24-Jun-03 16:13
Ryan Binns24-Jun-03 16:13 
GeneralRe: Drawing without flicker? Pin
John M. Drescher24-Jun-03 16:19
John M. Drescher24-Jun-03 16:19 
GeneralRe: Drawing without flicker? Pin
Ryan Binns24-Jun-03 16:21
Ryan Binns24-Jun-03 16:21 
Generalplay avi file and install codec for it Pin
Mohsen Saad24-Jun-03 15:17
Mohsen Saad24-Jun-03 15:17 
GeneralHelp!! CHTMLView inside CDialog Pin
crewchill24-Jun-03 14:09
crewchill24-Jun-03 14:09 
GeneralRe: Help!! CHTMLView inside CDialog Pin
Joan M24-Jun-03 20:34
professionalJoan M24-Jun-03 20:34 
GeneralRe: Help!! CHTMLView inside CDialog Pin
crewchill24-Jun-03 21:21
crewchill24-Jun-03 21:21 
GeneralLots'o'data... Pin
el davo24-Jun-03 13:25
el davo24-Jun-03 13:25 
GeneralRe: Lots'o'data... Pin
Dave Bryant24-Jun-03 14:34
Dave Bryant24-Jun-03 14:34 
It depends on how you want to access them. If you need to do lookups based on some key value, and the values do not need to be sorted, then you can use a hashmap, as it has constant time insertion, deletion, and retrieval.

If you need them sorted, then you could use a balanced tree, as that will have logN insertion/deletion/retrieval, and allows traversing the tree in order (keeping them sorted).

If you don't care how they are sorted, and don't need to do lookups, then you could use a simple linked list, or even an array if you know at the start how many items there will be.


If you can provide some more details with how you plan to use it, then it will be easier to recommend a specific collection to use.

Dave
http://www.cloudsofheaven.org
QuestionWhat's wrong with this code? Pin
Jonathan Gilligan24-Jun-03 12:38
Jonathan Gilligan24-Jun-03 12:38 
AnswerRe: What's wrong with this code? Pin
Dave Bryant24-Jun-03 12:43
Dave Bryant24-Jun-03 12:43 

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.