Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Typedef and more Pin
NicholasCougar9-Apr-02 16:19
NicholasCougar9-Apr-02 16:19 
GeneralCRYSTL32.OCX problem ! Pin
Hadi Rezaee8-Apr-02 23:04
Hadi Rezaee8-Apr-02 23:04 
GeneralRe: CRYSTL32.OCX problem ! Pin
l a u r e n9-Apr-02 0:56
l a u r e n9-Apr-02 0:56 
GeneralRe: CRYSTL32.OCX problem ! Pin
Hadi Rezaee9-Apr-02 4:00
Hadi Rezaee9-Apr-02 4:00 
GeneralRe: CRYSTL32.OCX problem ! Pin
Hadi Rezaee9-Apr-02 10:02
Hadi Rezaee9-Apr-02 10:02 
GeneralWord Automation - Extra Info on Tables.. Pin
Braulio Dez8-Apr-02 22:41
Braulio Dez8-Apr-02 22:41 
GeneralSTL and heap management Pin
Haakon S.8-Apr-02 22:26
Haakon S.8-Apr-02 22:26 
GeneralRe: STL and heap management Pin
Christian Graus8-Apr-02 23:21
protectorChristian Graus8-Apr-02 23:21 
Vector impliments a grow policy so that it can limit the number of times it needs to recreate itself. It is unlikely to be as efficient as the custom code you are writing.

If you need this level of efficiency, I'd advise to write your own container so that it exposes random access iterators, so you can copy between it and STL containers, and use the provided algorithms, use it with streams, etc.

A pointer is a random access iterator, so it's not much harder than providing begin() and end() methods.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
GeneralRe: STL and heap management Pin
Haakon S.9-Apr-02 0:20
Haakon S.9-Apr-02 0:20 
GeneralRe: STL and heap management Pin
Joao Vaz9-Apr-02 1:07
Joao Vaz9-Apr-02 1:07 
GeneralRe: STL and heap management Pin
Haakon S.9-Apr-02 1:50
Haakon S.9-Apr-02 1:50 
GeneralRe: STL and heap management Pin
Joao Vaz9-Apr-02 3:48
Joao Vaz9-Apr-02 3:48 
GeneralRe: STL and heap management Pin
Tim Smith9-Apr-02 4:10
Tim Smith9-Apr-02 4:10 
GeneralRe: STL and heap management Pin
Joao Vaz9-Apr-02 4:49
Joao Vaz9-Apr-02 4:49 
GeneralRe: STL and heap management Pin
Haakon S.9-Apr-02 8:17
Haakon S.9-Apr-02 8:17 
GeneralRe: STL and heap management Pin
Joao Vaz9-Apr-02 9:56
Joao Vaz9-Apr-02 9:56 
GeneralRe: STL and heap management Pin
Tim Smith9-Apr-02 8:44
Tim Smith9-Apr-02 8:44 
GeneralRe: STL and heap management Pin
Joao Vaz9-Apr-02 10:03
Joao Vaz9-Apr-02 10:03 
GeneralClosing message! Pin
Rickard Andersson208-Apr-02 22:27
Rickard Andersson208-Apr-02 22:27 
GeneralRe: Closing message! Pin
lucy9-Apr-02 3:43
lucy9-Apr-02 3:43 
GeneralRe: Closing message! Pin
Rickard Andersson209-Apr-02 4:39
Rickard Andersson209-Apr-02 4:39 
General"Show window contents while dragging" Pin
Hans Ruck8-Apr-02 21:29
Hans Ruck8-Apr-02 21:29 
GeneralRe: "Show window contents while dragging" Pin
Shog99-Apr-02 5:27
sitebuilderShog99-Apr-02 5:27 
QuestionWhat is the difference between the dialog types available in resource editor? Pin
vcLearner8-Apr-02 21:30
vcLearner8-Apr-02 21:30 
AnswerRe: What is the difference between the dialog types available in resource editor? Pin
John Aspras8-Apr-02 21:36
John Aspras8-Apr-02 21:36 

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.