Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp for stdext::hash_map in VS2005! Pin
bosfan21-Oct-07 23:16
bosfan21-Oct-07 23:16 
AnswerRe: Help for stdext::hash_map in VS2005! [modified] Pin
jhwurmbach22-Oct-07 1:21
jhwurmbach22-Oct-07 1:21 
GeneralRe: Help for stdext::hash_map in VS2005! Pin
bosfan22-Oct-07 22:45
bosfan22-Oct-07 22:45 
GeneralRe: Help for stdext::hash_map in VS2005! Pin
jhwurmbach23-Oct-07 0:02
jhwurmbach23-Oct-07 0:02 
GeneralRe: Help for stdext::hash_map in VS2005! Pin
bosfan23-Oct-07 0:54
bosfan23-Oct-07 0:54 
GeneralRe: Help for stdext::hash_map in VS2005! Pin
jhwurmbach23-Oct-07 1:01
jhwurmbach23-Oct-07 1:01 
GeneralRe: Help for stdext::hash_map in VS2005! Pin
bosfan25-Oct-07 4:34
bosfan25-Oct-07 4:34 
GeneralRe: Help for stdext::hash_map in VS2005! Pin
jhwurmbach25-Oct-07 4:41
jhwurmbach25-Oct-07 4:41 
I use int as a key.

Why do you desperately need a hash_map and not a normal std::map?
For any practical purposes, the speed will not be too much different. If you worry about speed but do not get your work done you are doing premature optimization anyways.

You might need to come up with a hashing-function for your string and provide that to your hash_map. But I have never done that myself.




Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

QuestionEmbedding Copy Exe in Application Exe? Pin
Ash2021-Oct-07 23:03
Ash2021-Oct-07 23:03 
AnswerRe: Embedding Copy Exe in Application Exe? Pin
Renjith Ramachandran22-Oct-07 0:41
Renjith Ramachandran22-Oct-07 0:41 
AnswerRe: Embedding Copy Exe in Application Exe? Pin
Nibu babu thomas22-Oct-07 0:42
Nibu babu thomas22-Oct-07 0:42 
AnswerRe: Embedding Copy Exe in Application Exe? Pin
JudyL_MD22-Oct-07 3:03
JudyL_MD22-Oct-07 3:03 
Questionassert Pin
George_George21-Oct-07 22:35
George_George21-Oct-07 22:35 
AnswerRe: assert Pin
Matthew Faithfull21-Oct-07 23:08
Matthew Faithfull21-Oct-07 23:08 
GeneralRe: assert Pin
George_George22-Oct-07 0:10
George_George22-Oct-07 0:10 
GeneralRe: assert Pin
Matthew Faithfull22-Oct-07 0:46
Matthew Faithfull22-Oct-07 0:46 
GeneralRe: assert Pin
George_George22-Oct-07 1:52
George_George22-Oct-07 1:52 
GeneralRe: assert Pin
Stephen Hewitt22-Oct-07 15:36
Stephen Hewitt22-Oct-07 15:36 
AnswerRe: assert Pin
David Crow22-Oct-07 3:45
David Crow22-Oct-07 3:45 
GeneralRe: assert Pin
George_George22-Oct-07 19:26
George_George22-Oct-07 19:26 
GeneralRe: assert Pin
David Crow23-Oct-07 2:55
David Crow23-Oct-07 2:55 
GeneralRe: assert Pin
George_George23-Oct-07 4:41
George_George23-Oct-07 4:41 
AnswerRe: assert Pin
James R. Twine22-Oct-07 5:18
James R. Twine22-Oct-07 5:18 
GeneralRe: assert Pin
George_George22-Oct-07 18:58
George_George22-Oct-07 18:58 
QuestionHow to get text from Form? Pin
truestepper21-Oct-07 22:20
truestepper21-Oct-07 22:20 

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.