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

C / C++ / MFC

 
GeneralRe: Windows Messages and Pixel colors.. Pin
Hesham Amin10-Jan-04 21:01
Hesham Amin10-Jan-04 21:01 
GeneralFlexgrid Pin
Rane9-Jan-04 17:30
Rane9-Jan-04 17:30 
Generalmap<string,string> just won't work Pin
luddet9-Jan-04 16:47
luddet9-Jan-04 16:47 
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 
I'm not near a compiler at the moment (sigh, Its Saturday here in Aus and Im in the computer-room), but I think you have to declare the map elements ...

try :-

// Declare A Map Of string->string
map<string, const string> m;

(The 'const' may/may not be required).... I've never had much luck doing an insert like you've tried - I always use 'make_pair' (usually becuase I have an object pointer on the right hand side) as in :-

m.insert ( make_pair ( "Tom", "Jerry" ) );

'G'

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 
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 

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.