Click here to Skip to main content
15,916,042 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: http request Pin
David Crow9-May-07 2:50
David Crow9-May-07 2:50 
AnswerRe: http request Pin
Hamid_RT9-May-07 7:04
Hamid_RT9-May-07 7:04 
QuestionAdding window form to VC 6.0 MFC App Pin
zubair_ahmed8-May-07 21:42
zubair_ahmed8-May-07 21:42 
AnswerRe: Adding window form to VC 6.0 MFC App Pin
Christian Graus8-May-07 21:52
protectorChristian Graus8-May-07 21:52 
GeneralRe: Adding window form to VC 6.0 MFC App Pin
zubair_ahmed8-May-07 23:11
zubair_ahmed8-May-07 23:11 
QuestionImplement Excel in C#.NET Form Pin
Munishprathap8-May-07 21:02
Munishprathap8-May-07 21:02 
AnswerRe: Implement Excel in C#.NET Form Pin
Christian Graus8-May-07 21:07
protectorChristian Graus8-May-07 21:07 
QuestionWhich STL container to use Pin
User 5838528-May-07 21:01
User 5838528-May-07 21:01 
I would like some advice on which STL container is best given the following requirements

* I need to store in memory a collection of unsigned ints
* Only one thread will touch the collection
* Speed is critical for add/find/remove
* I need to add to this collection, usually I will be adding a continuous range (eg 10, 11, 12, 13, 14)
* I need to find out if a specific value is in the collection
* I need to remove specific values
* I would like to minimise memory usage by allocating storage for the most common size of this collection at startup, have the collection expand itself if nessasary (without moving existing items) but never shrink itself

Is there an STL container that can meet all of these or do I need to make my own?

AnswerRe: Which STL container to use Pin
Stephen Hewitt8-May-07 21:04
Stephen Hewitt8-May-07 21:04 
GeneralRe: Which STL container to use Pin
User 5838528-May-07 21:14
User 5838528-May-07 21:14 
GeneralRe: Which STL container to use Pin
Stephen Hewitt8-May-07 21:21
Stephen Hewitt8-May-07 21:21 
GeneralRe: Which STL container to use Pin
User 58385210-May-07 13:07
User 58385210-May-07 13:07 
GeneralRe: Which STL container to use Pin
ThatsAlok16-May-07 20:30
ThatsAlok16-May-07 20:30 
GeneralRe: Which STL container to use Pin
Stephen Hewitt16-May-07 20:33
Stephen Hewitt16-May-07 20:33 
GeneralRe: Which STL container to use Pin
ThatsAlok16-May-07 20:40
ThatsAlok16-May-07 20:40 
QuestionC2440 error Pin
subramanyeswari8-May-07 20:48
subramanyeswari8-May-07 20:48 
AnswerRe: C2440 error Pin
Stephen Hewitt8-May-07 20:50
Stephen Hewitt8-May-07 20:50 
AnswerRe: C2440 error Pin
Cedric Moonen8-May-07 20:53
Cedric Moonen8-May-07 20:53 
GeneralRe: C2440 error Pin
subramanyeswari8-May-07 21:09
subramanyeswari8-May-07 21:09 
GeneralRe: C2440 error Pin
Cedric Moonen8-May-07 21:24
Cedric Moonen8-May-07 21:24 
GeneralRe: C2440 error Pin
Stephen Hewitt8-May-07 21:26
Stephen Hewitt8-May-07 21:26 
AnswerRe: C2440 error Pin
Stephen Hewitt8-May-07 21:42
Stephen Hewitt8-May-07 21:42 
Questionlux meter Pin
mrizki8-May-07 19:57
mrizki8-May-07 19:57 
AnswerRe: lux meter Pin
kakan8-May-07 20:11
professionalkakan8-May-07 20:11 
GeneralRe: lux meter Pin
ThatsAlok8-May-07 21:07
ThatsAlok8-May-07 21:07 

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.