Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: map<string,string> just won't work Pin
ZoogieZork9-Jan-04 17:14
ZoogieZork9-Jan-04 17:14 
GeneralRe: map<string,string> just won't work Pin
luddet9-Jan-04 17:17
luddet9-Jan-04 17:17 
GeneralRe: map&lt;string,string&gt; just won't work Pin
ZoogieZork9-Jan-04 17:50
ZoogieZork9-Jan-04 17:50 
GeneralRe: map&lt;string,string&gt; just won't work Pin
luddet9-Jan-04 17:53
luddet9-Jan-04 17:53 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Garth J Lancaster9-Jan-04 17:18
professionalGarth J Lancaster9-Jan-04 17:18 
GeneralRe: map&lt;string,string&gt; just won't work Pin
luddet9-Jan-04 17:19
luddet9-Jan-04 17:19 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Jörgen Sigvardsson10-Jan-04 7:20
Jörgen Sigvardsson10-Jan-04 7:20 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Garth J Lancaster11-Jan-04 16:00
professionalGarth J Lancaster11-Jan-04 16:00 
yeah, I was having a brain-fart at the time I wrote that ... it was so bloody cold in the computer room I was surprised I could type at all !!

Jörgen Sigvardsson wrote:
Nor should you make the key_type const either, since std::map will make the key const where appropriate.

hmmm - but wouldnt you keep it const ?? - I thought it would be appropriate all the time ... I always thought of the key being const

map<string, string> m;
m["Fred"] = "Nurk";

I can understand changing "Nurk" to "Scumbag".. Im not sure on the implications of changing the "Fred" Key ..

I must still be in "mode=dense"
'G'
GeneralRe: map&lt;string,string&gt; just won't work Pin
Jörgen Sigvardsson11-Jan-04 23:29
Jörgen Sigvardsson11-Jan-04 23:29 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Michael Dunn9-Jan-04 17:20
sitebuilderMichael Dunn9-Jan-04 17:20 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Garth J Lancaster9-Jan-04 17:24
professionalGarth J Lancaster9-Jan-04 17:24 
GeneralRe: map&lt;string,string&gt; just won't work Pin
luddet9-Jan-04 17:24
luddet9-Jan-04 17:24 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Prakash Nadar10-Jan-04 1:02
Prakash Nadar10-Jan-04 1:02 
GeneralRe: map&lt;string,string&gt; just won't work Pin
Jörgen Sigvardsson10-Jan-04 7:30
Jörgen Sigvardsson10-Jan-04 7:30 
Generalshortcut using installshield Pin
Anonymous9-Jan-04 12:56
Anonymous9-Jan-04 12:56 
GeneralRe: shortcut using installshield Pin
Stefan Pedersen9-Jan-04 13:53
Stefan Pedersen9-Jan-04 13:53 
GeneralCATEGORYINFO &amp; ICatRegister Pin
suiram409-Jan-04 11:25
suiram409-Jan-04 11:25 
GeneralRe: CATEGORYINFO & ICatRegister Pin
K ARUN KUMAR29-Apr-11 4:09
K ARUN KUMAR29-Apr-11 4:09 
GeneralProblem with VB DLL to use with VC++ Pin
Chirag Chauhan9-Jan-04 10:27
Chirag Chauhan9-Jan-04 10:27 
GeneralRe: Problem with VB DLL to use with VC++ Pin
Stefan Pedersen9-Jan-04 13:59
Stefan Pedersen9-Jan-04 13:59 
GeneralRe: Problem with VB DLL to use with VC++ Pin
Chirag Chauhan9-Jan-04 14:47
Chirag Chauhan9-Jan-04 14:47 
GeneralMouse Hook Problem Pin
Zee man9-Jan-04 9:45
Zee man9-Jan-04 9:45 
GeneralRe: Mouse Hook Problem Pin
Joel Lucsy12-Jan-04 4:05
Joel Lucsy12-Jan-04 4:05 
GeneralCIntArray in a structure Pin
(Steven Hicks)n+19-Jan-04 9:38
(Steven Hicks)n+19-Jan-04 9:38 
GeneralRe: CIntArray in a structure Pin
Gary R. Wheeler10-Jan-04 9:25
Gary R. Wheeler10-Jan-04 9:25 

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.