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

C / C++ / MFC

 
AnswerRe: New notification code for subclassed CButton Pin
willy_total25-Oct-05 6:57
willy_total25-Oct-05 6:57 
GeneralRe: New notification code for subclassed CButton Pin
Roger Stoltz25-Oct-05 7:08
Roger Stoltz25-Oct-05 7:08 
Questionhow to obtain file permision (rwx) from web host? Pin
includeh1025-Oct-05 6:01
includeh1025-Oct-05 6:01 
QuestionRe: how to obtain file permision (rwx) from web host? Pin
David Crow25-Oct-05 7:30
David Crow25-Oct-05 7:30 
AnswerRe: how to obtain file permision (rwx) from web host? Pin
includeh1026-Oct-05 0:29
includeh1026-Oct-05 0:29 
QuestionRe: how to obtain file permision (rwx) from web host? Pin
David Crow26-Oct-05 2:47
David Crow26-Oct-05 2:47 
QuestionUsing a hook and hidden objects in windows. Pin
Maddo25-Oct-05 5:43
Maddo25-Oct-05 5:43 
QuestionVector mapping issue Pin
itkid25-Oct-05 5:13
itkid25-Oct-05 5:13 
Hi Friends,
I am store some data into vector and mapping it long key for searching (1::1 mapping).Below code
---------------------.h file------------------------
typedef std::vector<item *=""> m_cache;
typedef std::map<long, item="" *=""> m_index;
typedef std::pair<long, item*=""> INDEX_ENTRY;
INDEX_ENTRY IndexEntry(Item * plu);
--------------------.cpp-------------------------
m_cache.push_back(item);
m_index.insert(IndexEntry(item));
-------------------------------------------------

Now the requirment is to retrive the same data with any of 2 different key long1 and long2 from the same vector(1::2 mapping). Can you please help me how to do this?

Thanks
D'Oh! | :doh:
-- modified at 11:13 Tuesday 25th October, 2005
Questionstrange behavior ... anybody knows ? Pin
FreeClimber25-Oct-05 4:42
FreeClimber25-Oct-05 4:42 
QuestionThanks for all your help + new help Pin
Tom Moore25-Oct-05 4:32
Tom Moore25-Oct-05 4:32 
AnswerRe: Thanks for all your help + new help Pin
FarPointer25-Oct-05 6:38
FarPointer25-Oct-05 6:38 
GeneralRe: Thanks for all your help + new help Pin
Tom Moore25-Oct-05 7:50
Tom Moore25-Oct-05 7:50 
AnswerRe: Thanks for all your help + new help Pin
ThatsAlok25-Oct-05 22:06
ThatsAlok25-Oct-05 22:06 
QuestionAutosave for SDI Pin
mark gooding25-Oct-05 4:16
mark gooding25-Oct-05 4:16 
QuestionSHGetIconOverlayIndex &amp; GetProcAddress Pin
yarp25-Oct-05 3:44
yarp25-Oct-05 3:44 
AnswerRe: SHGetIconOverlayIndex &amp; GetProcAddress Pin
kakan25-Oct-05 3:58
professionalkakan25-Oct-05 3:58 
QuestionCFileDialog Customization - Date Order Pin
Dave S25-Oct-05 3:20
Dave S25-Oct-05 3:20 
AnswerRe: CFileDialog Customization - Date Order Pin
Dave S25-Oct-05 5:56
Dave S25-Oct-05 5:56 
QuestionBilinear interpolation Pin
Arrun25-Oct-05 2:19
Arrun25-Oct-05 2:19 
AnswerRe: Bilinear interpolation Pin
Anonymous25-Oct-05 4:10
Anonymous25-Oct-05 4:10 
GeneralRe: Bilinear interpolation Pin
Arrun25-Oct-05 18:48
Arrun25-Oct-05 18:48 
QuestionHow to add more documents in existing MDI Pin
shivditya25-Oct-05 1:55
shivditya25-Oct-05 1:55 
QuestionRe: How to add more documents in existing MDI Pin
Anonymous25-Oct-05 2:56
Anonymous25-Oct-05 2:56 
AnswerRe: How to add more documents in existing MDI Pin
shivditya25-Oct-05 3:05
shivditya25-Oct-05 3:05 
QuestionRe: How to add more documents in existing MDI Pin
shivditya25-Oct-05 3:24
shivditya25-Oct-05 3:24 

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.