Click here to Skip to main content
15,917,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding third choice to OK and CANCEL buttons in dialog window Pin
Kwanalouie1-Jun-08 6:43
Kwanalouie1-Jun-08 6:43 
GeneralRe: Adding third choice to OK and CANCEL buttons in dialog window Pin
Nelek1-Jun-08 7:12
protectorNelek1-Jun-08 7:12 
GeneralRe: Adding third choice to OK and CANCEL buttons in dialog window Pin
Jijo.Raj1-Jun-08 7:19
Jijo.Raj1-Jun-08 7:19 
AnswerRe: Adding third choice to OK and CANCEL buttons in dialog window Pin
Hamid_RT3-Jun-08 1:02
Hamid_RT3-Jun-08 1:02 
QuestionHow to get the coded format of file? Pin
york5281-Jun-08 4:24
york5281-Jun-08 4:24 
QuestionFind a container Pin
followait1-Jun-08 4:12
followait1-Jun-08 4:12 
AnswerRe: Find a container Pin
Nelek1-Jun-08 7:10
protectorNelek1-Jun-08 7:10 
AnswerRe: Find a container Pin
Jijo.Raj1-Jun-08 7:49
Jijo.Raj1-Jun-08 7:49 
followait wrote:
Like a pair, for the first field, the value is unique, and the second field, the value is also unique. And I can quickly use one field to find another. Is there such a template class?


Since your first field is unique and you want to lookup the second field by using first, map will be the best choice. You can use either CMap or std::map.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

AnswerRe: Find a container Pin
Graham Shanks1-Jun-08 8:41
Graham Shanks1-Jun-08 8:41 
QuestionSave CBitmap object to disk Pin
capint1-Jun-08 0:00
capint1-Jun-08 0:00 
AnswerRe: Save CBitmap object to disk Pin
Rajkumar R1-Jun-08 0:15
Rajkumar R1-Jun-08 0:15 
GeneralRe: Save CBitmap object to disk Pin
capint1-Jun-08 0:29
capint1-Jun-08 0:29 
AnswerRe: Save CBitmap object to disk Pin
Hamid_RT1-Jun-08 6:34
Hamid_RT1-Jun-08 6:34 
QuestionDirectX9 Surfaces Transparency Pin
Hanan88831-May-08 23:20
Hanan88831-May-08 23:20 
AnswerRe: DirectX9 Surfaces Transparency Pin
Rajkumar R31-May-08 23:58
Rajkumar R31-May-08 23:58 
GeneralRe: DirectX9 Surfaces Transparency Pin
Hanan8881-Jun-08 2:20
Hanan8881-Jun-08 2:20 
QuestionRe: DirectX9 Surfaces Transparency Pin
Rajkumar R1-Jun-08 2:40
Rajkumar R1-Jun-08 2:40 
AnswerRe: DirectX9 Surfaces Transparency Pin
Hanan8881-Jun-08 3:10
Hanan8881-Jun-08 3:10 
GeneralRe: DirectX9 Surfaces Transparency Pin
Rajkumar R1-Jun-08 23:25
Rajkumar R1-Jun-08 23:25 
GeneralRe: DirectX9 Surfaces Transparency Pin
Hanan8882-Jun-08 1:30
Hanan8882-Jun-08 1:30 
GeneralRe: DirectX9 Surfaces Transparency Pin
Rajkumar R2-Jun-08 2:15
Rajkumar R2-Jun-08 2:15 
GeneralRe: DirectX9 Surfaces Transparency Pin
Hanan8882-Jun-08 2:28
Hanan8882-Jun-08 2:28 
AnswerRe: DirectX9 Surfaces Transparency Pin
Rajkumar R2-Jun-08 2:58
Rajkumar R2-Jun-08 2:58 
QuestionHow to ignore the Redraw message Pin
Schehaider_Aymen31-May-08 22:56
Schehaider_Aymen31-May-08 22:56 
AnswerRe: How to ignore the Redraw message Pin
Rajkumar R1-Jun-08 0:04
Rajkumar R1-Jun-08 0:04 

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.