Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Thank you for your advice, Joao.

Maybe I will buy the book. However, you say that custom block allocators are tricky. It appears to me that if I do my own allocation/reallocation I'm in full control. I don't do very fancy stuff on my variable arrays (e.g. sorting), it is mostly sequential access. But I do a very large number of iterative calculations on them, and I have a vague idea that if I keep my memory compact I keep these calculations run faster. The routine must constantly load new elements into the cache for computing, and the elements should therefore contain no dead meat. (Is this rubbish, or..?)For the same reason I will probably use CString (4 bytes long) instead of char m_name[32], but from where will the memory be allocated for the contents of the CString? My heap created with HeapCreate, or the default process heap? Is <string> any better?

There are certainly a very large number of difficult choises to make for us poor beginners....

Regards, HaakonConfused | :confused:
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 
GeneralProblem with LIKE from MFC Pin
8-Apr-02 19:31
suss8-Apr-02 19:31 
GeneralRe: Problem with LIKE from MFC Pin
Derek Waters8-Apr-02 19:35
Derek Waters8-Apr-02 19:35 
GeneralRe: Problem with LIKE from MFC Pin
Lakitu8-Apr-02 23:27
Lakitu8-Apr-02 23:27 

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.