Click here to Skip to main content
15,920,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL Question Pin
Eytukan13-Mar-07 16:59
Eytukan13-Mar-07 16:59 
GeneralRe: DLL Question Pin
ThatsAlok15-Mar-07 1:47
ThatsAlok15-Mar-07 1:47 
QuestionSave struct to right map? Pin
bosfan13-Mar-07 4:40
bosfan13-Mar-07 4:40 
AnswerRe: Save struct to right map? Pin
Maximilien13-Mar-07 4:51
Maximilien13-Mar-07 4:51 
GeneralRe: Save struct to right map? Pin
Roger Stoltz13-Mar-07 5:01
Roger Stoltz13-Mar-07 5:01 
GeneralRe: Save struct to right map? Pin
bob1697213-Mar-07 7:12
bob1697213-Mar-07 7:12 
GeneralRe: Save struct to right map? Pin
Roger Stoltz13-Mar-07 22:55
Roger Stoltz13-Mar-07 22:55 
GeneralRe: Save struct to right map? Pin
bob1697214-Mar-07 5:05
bob1697214-Mar-07 5:05 
Roger Stoltz wrote:
So if I know how to use the STL library I can write more portable code


Fair enough. I would agree that the portability issue is a big one. I hesitated to use hash_map only because of all the warnings about each library implementing slightly different variations of it and the fact that the "standard" extension for it will likely be of a different name. I'd hate to learn a specific library only to have to change once again when the standard was ratified.

I'm stuck in a windows only OS environment so the MFC's portability issues have been non-existent but I keep forgetting that's not the case for everyone.

Anyway, I'm constantly struggling to understand it all and I posted the comment out of fear that I may have missed something between std::map, hash_map, and CMap. My main concern was the comparison between std::map and CMap since, as far as I know, std::map does not use a hashing table and thus the similarities are not enough to consider one a direct replacement for the other. CMap and hash_map appear, at first glance, to be closer.

One of these years this stuff may all finally make some sense to me. Wink | ;)
AnswerRe: Save struct to right map? Pin
James R. Twine13-Mar-07 5:11
James R. Twine13-Mar-07 5:11 
QuestionVista using System32/MSVCRT.DLL Pin
benny232313-Mar-07 4:25
benny232313-Mar-07 4:25 
AnswerRe: Vista using System32/MSVCRT.DLL Pin
James R. Twine13-Mar-07 5:07
James R. Twine13-Mar-07 5:07 
Questioninsert for STL Pin
prithaa13-Mar-07 3:47
prithaa13-Mar-07 3:47 
AnswerRe: insert for STL Pin
toxcct13-Mar-07 3:49
toxcct13-Mar-07 3:49 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 7:10
prithaa13-Mar-07 7:10 
GeneralRe: insert for STL Pin
toxcct13-Mar-07 7:55
toxcct13-Mar-07 7:55 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 8:01
prithaa13-Mar-07 8:01 
GeneralRe: insert for STL Pin
toxcct13-Mar-07 8:09
toxcct13-Mar-07 8:09 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 8:15
prithaa13-Mar-07 8:15 
GeneralRe: insert for STL Pin
toxcct13-Mar-07 8:21
toxcct13-Mar-07 8:21 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 8:27
prithaa13-Mar-07 8:27 
GeneralRe: insert for STL Pin
Maximilien13-Mar-07 8:32
Maximilien13-Mar-07 8:32 
GeneralRe: insert for STL Pin
prithaa13-Mar-07 8:49
prithaa13-Mar-07 8:49 
QuestionCCheckListBox and static linking Pin
Magonnew13-Mar-07 3:36
Magonnew13-Mar-07 3:36 
AnswerRe: CCheckListBox and static linking Pin
David Crow13-Mar-07 6:03
David Crow13-Mar-07 6:03 
GeneralRe: CCheckListBox and static linking Pin
Magonnew13-Mar-07 20:48
Magonnew13-Mar-07 20:48 

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.