Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDelete the menu Pin
Anu_Bala26-Apr-06 19:27
Anu_Bala26-Apr-06 19:27 
AnswerRe: Delete the menu Pin
Nibu babu thomas26-Apr-06 19:57
Nibu babu thomas26-Apr-06 19:57 
QuestionWhat's the difference between CDialog and CView Pin
Happy frog26-Apr-06 18:45
Happy frog26-Apr-06 18:45 
AnswerRe: What's the difference between CDialog and CView Pin
Hamid_RT26-Apr-06 19:17
Hamid_RT26-Apr-06 19:17 
QuestionC++ STL Question: Using Maps Pin
chasetoys26-Apr-06 17:59
chasetoys26-Apr-06 17:59 
AnswerRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 18:04
Stephen Hewitt26-Apr-06 18:04 
AnswerRe: C++ STL Question: Using Maps Pin
Christian Graus26-Apr-06 18:07
protectorChristian Graus26-Apr-06 18:07 
GeneralRe: C++ STL Question: Using Maps Pin
chasetoys26-Apr-06 18:15
chasetoys26-Apr-06 18:15 
Ok then what's the best data structure for:

1) Being able do a random_shuffle () on,
2) Being able to search by key to get to a value.

I'm using vector right now, but I have a key-value pair combination that I need to update fairly often, so it seems like a map would be ideal for this..., but if this is the case, I need a way of randomly shuffling the map somehow, so when I do an interator and go from the beginning to the end, its random every time.
GeneralRe: C++ STL Question: Using Maps Pin
Christian Graus26-Apr-06 18:30
protectorChristian Graus26-Apr-06 18:30 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 18:54
Stephen Hewitt26-Apr-06 18:54 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 18:19
Stephen Hewitt26-Apr-06 18:19 
GeneralRe: C++ STL Question: Using Maps Pin
Christian Graus26-Apr-06 18:26
protectorChristian Graus26-Apr-06 18:26 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 18:29
Stephen Hewitt26-Apr-06 18:29 
GeneralRe: C++ STL Question: Using Maps Pin
Christian Graus26-Apr-06 18:36
protectorChristian Graus26-Apr-06 18:36 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 18:57
Stephen Hewitt26-Apr-06 18:57 
GeneralRe: C++ STL Question: Using Maps Pin
Steve Echols26-Apr-06 19:42
Steve Echols26-Apr-06 19:42 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 19:46
Stephen Hewitt26-Apr-06 19:46 
GeneralRe: C++ STL Question: Using Maps Pin
Steve Echols26-Apr-06 19:53
Steve Echols26-Apr-06 19:53 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 19:58
Stephen Hewitt26-Apr-06 19:58 
GeneralRe: C++ STL Question: Using Maps Pin
Steve Echols26-Apr-06 20:14
Steve Echols26-Apr-06 20:14 
GeneralRe: C++ STL Question: Using Maps Pin
Christian Graus26-Apr-06 21:02
protectorChristian Graus26-Apr-06 21:02 
GeneralRe: C++ STL Question: Using Maps Pin
chasetoys26-Apr-06 18:30
chasetoys26-Apr-06 18:30 
GeneralRe: C++ STL Question: Using Maps Pin
Stephen Hewitt26-Apr-06 20:04
Stephen Hewitt26-Apr-06 20:04 
QuestionDouble Limit Pin
Stan the man26-Apr-06 17:31
Stan the man26-Apr-06 17:31 
AnswerRe: Double Limit Pin
Stephen Hewitt26-Apr-06 18:10
Stephen Hewitt26-Apr-06 18:10 

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.