Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CDateTimeCtrl in MFC - How to Use? Pin
David Crow17-Aug-09 3:14
David Crow17-Aug-09 3:14 
GeneralRe: CDateTimeCtrl in MFC - How to Use? Pin
Larry Mills Sr17-Aug-09 4:19
Larry Mills Sr17-Aug-09 4:19 
GeneralRe: CDateTimeCtrl in MFC - How to Use? Pin
David Crow17-Aug-09 4:25
David Crow17-Aug-09 4:25 
GeneralRe: CDateTimeCtrl in MFC - How to Use? Pin
Larry Mills Sr19-Aug-09 8:07
Larry Mills Sr19-Aug-09 8:07 
QuestionRe: CDateTimeCtrl in MFC - How to Use? Pin
David Crow19-Aug-09 8:29
David Crow19-Aug-09 8:29 
AnswerRe: CDateTimeCtrl in MFC - How to Use? Pin
Larry Mills Sr19-Aug-09 10:26
Larry Mills Sr19-Aug-09 10:26 
GeneralRe: CDateTimeCtrl in MFC - How to Use? Pin
David Crow19-Aug-09 10:30
David Crow19-Aug-09 10:30 
QuestionUse a map as a source of data Pin
Waldemar Ork16-Aug-09 3:18
Waldemar Ork16-Aug-09 3:18 
Hello everybody,
I've got a console project generating 6 elements combinations of strings(6 out of 10)for example:
ia11,ia72,ia190,ia21,ia102,ia180
ia11,ia72,ia167,ia64,ia102,ia178
etc...
(altogether 210 combinations)
I've also got a map:
typedef map<string,vector<int> >container;
            container::iterator it;
            container map;                                       
      map.insert(make_pair("ia11", via11));
      map.insert(make_pair("ia34", via34));
      map.insert(make_pair("ia72", via72));
      map.insert(make_pair("ia167", via167));
      map.insert(make_pair("ia190", via190));
      map.insert(make_pair("ia21", via21));
      map.insert(make_pair("ia64", via64));
      map.insert(make_pair("ia102", via102));
      map.insert(make_pair("ia178", via178));
      map.insert(make_pair("ia180", via180));
The map has also string keys(the same as in the console output in order to make comparison possible).
That's because I want to populate the console output with integer values from the map vectors.  
In other words the map is the source of data for the output. To put it in other way: when we've got ia21 in the output, the programme should compare it to the map and find a string key in the map (which is ia21 too) and after that insert values of integer from the vector(value in the map)into the string output.
What is the simpliest way to do it? What classes, compare functions or bool operators should I use?
I would be grateful for any kind of help!
AnswerRe: Use a map as a source of data Pin
«_Superman_»16-Aug-09 19:19
professional«_Superman_»16-Aug-09 19:19 
GeneralRe: Use a map as a source of data Pin
Waldemar Ork17-Aug-09 5:53
Waldemar Ork17-Aug-09 5:53 
Question╠ How get video card memory size ? ╣ Pin
bzsolt9116-Aug-09 2:21
bzsolt9116-Aug-09 2:21 
AnswerRe: ╠ How get video card memory size ? ╣ Pin
Hristo-Bojilov16-Aug-09 7:45
Hristo-Bojilov16-Aug-09 7:45 
AnswerRe: ╠ How get video card memory size ? ╣ Pin
kilt17-Aug-09 3:06
kilt17-Aug-09 3:06 
AnswerRe: ╠ How get video card memory size ? ╣ Pin
bzsolt9123-Aug-09 4:29
bzsolt9123-Aug-09 4:29 
QuestionHow to cause a CPropertySheet to show a particular page .. [SOLVED] Pin
Ahmed Charfeddine16-Aug-09 1:12
Ahmed Charfeddine16-Aug-09 1:12 
AnswerRe: How to cause a CPropertySheet to show a particular page .. Pin
David Crow16-Aug-09 11:31
David Crow16-Aug-09 11:31 
GeneralRe: How to cause a CPropertySheet to show a particular page .. Pin
Ahmed Charfeddine16-Aug-09 11:41
Ahmed Charfeddine16-Aug-09 11:41 
QuestionError 1008 while using CoCreateInstance Pin
emmmatty115-Aug-09 21:19
emmmatty115-Aug-09 21:19 
QuestionPrint and Print Preview and relation with document view Pin
Amin.Abdi15-Aug-09 19:34
Amin.Abdi15-Aug-09 19:34 
AnswerRe: Print and Print Preview and relation with document view Pin
«_Superman_»16-Aug-09 19:06
professional«_Superman_»16-Aug-09 19:06 
QuestionMouse as an erasing tool Pin
kudlaty7915-Aug-09 10:06
kudlaty7915-Aug-09 10:06 
AnswerRe: Mouse as an erasing tool Pin
Michael Schubert15-Aug-09 13:22
Michael Schubert15-Aug-09 13:22 
AnswerRe: Mouse as an erasing tool Pin
«_Superman_»15-Aug-09 17:41
professional«_Superman_»15-Aug-09 17:41 
GeneralRe: Mouse as an erasing tool Pin
kudlaty7916-Aug-09 3:08
kudlaty7916-Aug-09 3:08 
GeneralRe: Mouse as an erasing tool Pin
Cedric Moonen16-Aug-09 20:13
Cedric Moonen16-Aug-09 20:13 

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.