Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to add elements Horizontally in ListBox Pin
Atul2320-Jul-07 0:25
Atul2320-Jul-07 0:25 
AnswerRe: How to add elements Horizontally in ListBox Pin
Nibu babu thomas20-Jul-07 1:35
Nibu babu thomas20-Jul-07 1:35 
AnswerRe: How to add elements Horizontally in ListBox Pin
Hamid_RT31-Jul-07 19:34
Hamid_RT31-Jul-07 19:34 
QuestionCArray or vector? which is better to use? Pin
jpucnpczjx19-Jul-07 23:55
jpucnpczjx19-Jul-07 23:55 
AnswerRe: CArray or vector? which is better to use? Pin
CPallini20-Jul-07 0:09
mveCPallini20-Jul-07 0:09 
AnswerRe: CArray or vector? which is better to use? Pin
Matthew Faithfull20-Jul-07 4:16
Matthew Faithfull20-Jul-07 4:16 
GeneralRe: CArray or vector? which is better to use? Pin
Cyrilix20-Jul-07 5:02
Cyrilix20-Jul-07 5:02 
GeneralRe: CArray or vector? which is better to use? Pin
Matthew Faithfull20-Jul-07 5:38
Matthew Faithfull20-Jul-07 5:38 
Yep, you clearly have some reasonable harware behind that and STL is very good in straight allocation tests. It mostly does preallocating big lumps for you but not in every case. Never the less I'd probably still use a chain of large fixed size buffers for the sort of thing suggested. Although STL tends to be very good it is always trying to be all things to all people and if you do anything unexpected with it, it can get nasty. Also it is relying on the underlying Windows heap allocator and if that suffers fragmentation then even stl performance will go Dead | X| . Not an easy problem to avoid without going to .NET of course. In the end it's each to his own and use whatever enables you to write the best code Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

AnswerRe: CArray or vector? which is better to use? Pin
ThatsAlok22-Jul-07 18:47
ThatsAlok22-Jul-07 18:47 
Questionhi Pin
nitheshkumar19-Jul-07 23:24
nitheshkumar19-Jul-07 23:24 
JokeRe: hi Pin
CPallini19-Jul-07 23:29
mveCPallini19-Jul-07 23:29 
JokeRe: hi Pin
Nibu babu thomas19-Jul-07 23:38
Nibu babu thomas19-Jul-07 23:38 
JokeOK! Pin
CPallini19-Jul-07 23:41
mveCPallini19-Jul-07 23:41 
JokeRe: hi Pin
Cedric Moonen19-Jul-07 23:47
Cedric Moonen19-Jul-07 23:47 
JokeRe: hi Pin
Rajesh R Subramanian20-Jul-07 0:32
professionalRajesh R Subramanian20-Jul-07 0:32 
JokeRe: hi Pin
Perspx20-Jul-07 2:13
Perspx20-Jul-07 2:13 
JokeYes Pin
CPallini20-Jul-07 2:44
mveCPallini20-Jul-07 2:44 
JokeRe: Yes Pin
Perspx20-Jul-07 5:06
Perspx20-Jul-07 5:06 
AnswerIf you haven't figured it out yet.... Pin
leckey20-Jul-07 3:02
leckey20-Jul-07 3:02 
AnswerRe: hi Pin
Wes Aday20-Jul-07 4:34
professionalWes Aday20-Jul-07 4:34 
AnswerRe: hi Pin
Mark Salsbery20-Jul-07 5:47
Mark Salsbery20-Jul-07 5:47 
GeneralRe: hi Pin
Kevin McFarlane20-Jul-07 8:55
Kevin McFarlane20-Jul-07 8:55 
JokeRe: hi Pin
Perspx20-Jul-07 10:26
Perspx20-Jul-07 10:26 
GeneralRe: hi Pin
Mark Salsbery20-Jul-07 10:28
Mark Salsbery20-Jul-07 10:28 
GeneralRe: hi Pin
Perspx20-Jul-07 11:47
Perspx20-Jul-07 11:47 

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.