Click here to Skip to main content
16,006,480 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: definition Pin
Michael P Butler1-Nov-05 21:14
Michael P Butler1-Nov-05 21:14 
QuestionLink List using STL Pin
itkid28-Oct-05 3:59
itkid28-Oct-05 3:59 
AnswerRe: Link List using STL Pin
Jeff Thompson28-Oct-05 18:37
Jeff Thompson28-Oct-05 18:37 
Questionhow to implementate a registration script Pin
T.J.27-Oct-05 22:49
T.J.27-Oct-05 22:49 
QuestionATL COM Program Pin
LiYS27-Oct-05 17:06
LiYS27-Oct-05 17:06 
AnswerRe: ATL COM Program Pin
User 21559727-Oct-05 20:17
User 21559727-Oct-05 20:17 
AnswerRe: ATL COM Program Pin
Michael Dunn31-Oct-05 13:13
sitebuilderMichael Dunn31-Oct-05 13:13 
QuestionVector mapping Pin
itkid25-Oct-05 5:15
itkid25-Oct-05 5:15 
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
Confused | :confused:
AnswerRe: Vector mapping Pin
__yb1-Nov-05 21:23
__yb1-Nov-05 21:23 
QuestionHelp: complie error when define struct in atl7.0 Pin
dog.in.yellow22-Oct-05 16:34
dog.in.yellow22-Oct-05 16:34 
AnswerRe: Help: complie error when define struct in atl7.0 Pin
Igor Vigdorchik23-Oct-05 16:21
Igor Vigdorchik23-Oct-05 16:21 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
dog.in.yellow24-Oct-05 5:20
dog.in.yellow24-Oct-05 5:20 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
Igor Vigdorchik24-Oct-05 7:14
Igor Vigdorchik24-Oct-05 7:14 
AnswerRe: Help: complie error when define struct in atl7.0 Pin
User 21559727-Oct-05 20:20
User 21559727-Oct-05 20:20 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
dog.in.yellow28-Oct-05 23:23
dog.in.yellow28-Oct-05 23:23 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
User 21559729-Oct-05 4:08
User 21559729-Oct-05 4:08 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
dog.in.yellow29-Oct-05 14:21
dog.in.yellow29-Oct-05 14:21 
QuestionAddressSpace of Hooked function Pin
Abhinav agrawal20-Oct-05 20:01
Abhinav agrawal20-Oct-05 20:01 
AnswerRe: AddressSpace of Hooked function Pin
Rage_bla22-Oct-05 4:22
Rage_bla22-Oct-05 4:22 
QuestionHiding Interface in ATL Pin
logicaldna18-Oct-05 23:32
logicaldna18-Oct-05 23:32 
AnswerRe: Hiding Interface in ATL Pin
Igor Vigdorchik19-Oct-05 13:39
Igor Vigdorchik19-Oct-05 13:39 
GeneralRe: Hiding Interface in ATL Pin
logicaldna19-Oct-05 23:13
logicaldna19-Oct-05 23:13 
GeneralRe: Hiding Interface in ATL Pin
Igor Vigdorchik20-Oct-05 3:22
Igor Vigdorchik20-Oct-05 3:22 
GeneralRe: Hiding Interface in ATL Pin
logicaldna20-Oct-05 17:35
logicaldna20-Oct-05 17:35 
QuestionAdding a second object to a ATL/COM dll Pin
almc18-Oct-05 6:15
almc18-Oct-05 6:15 

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.