Click here to Skip to main content
15,927,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL containers Pin
Obliterator13-Sep-01 7:03
Obliterator13-Sep-01 7:03 
QuestionCTreeCtrl multiselect? Pin
Ken Goguen13-Sep-01 6:13
Ken Goguen13-Sep-01 6:13 
AnswerRe: CTreeCtrl multiselect? Pin
Tomasz Sowinski13-Sep-01 6:28
Tomasz Sowinski13-Sep-01 6:28 
GeneralRe: CTreeCtrl multiselect? Pin
Ken Goguen13-Sep-01 8:37
Ken Goguen13-Sep-01 8:37 
AnswerRe: CTreeCtrl multiselect? Pin
Obliterator13-Sep-01 6:32
Obliterator13-Sep-01 6:32 
QuestionC++ MAKEDOUBLE ?? Pin
LX13-Sep-01 5:55
LX13-Sep-01 5:55 
AnswerRe: C++ MAKEDOUBLE ?? Pin
Tomasz Sowinski13-Sep-01 6:23
Tomasz Sowinski13-Sep-01 6:23 
GeneralRe: in fact, STL Problem... Pin
LX13-Sep-01 6:45
LX13-Sep-01 6:45 
Yes, it's right !!Blush | :O

What I want to do is based on STL :
------------------------------------------
typedef struct _MYSTRUCTURE
{
long lType;
long lSubType;

}MYSTRUCTURE;

typedef std::vector<long> lID;
typedef std::map<mystructure, lid=""> myMap;
-------------------------------------------
But when I do a 'find.' on myMap, STL can't find my vector in searching on MYSTRUCTURE 'cause it can't compare : ...
----
MYSTRUCTURE myStructure;
myStructure.lType = 10;
myStructure.lSubType = 11;

myMap::iterator it;
it = m_mymap.find(myStructure);
----
So, I wanted to concatenated the 2 longs and using
typedef std::map<double, lid=""> myMap;
but, you're right : double and long are two differents animals...

Do you see a solution ?
LX
GeneralRe: in fact, STL Problem... Pin
Tomasz Sowinski13-Sep-01 6:59
Tomasz Sowinski13-Sep-01 6:59 
GeneralRe: in fact, STL Problem... Pin
LX13-Sep-01 7:40
LX13-Sep-01 7:40 
AnswerRe: C++ MAKEDOUBLE ?? Pin
Mukkie14-Sep-01 10:40
Mukkie14-Sep-01 10:40 
GeneralUpdateResource on Win95 Pin
13-Sep-01 5:52
suss13-Sep-01 5:52 
GeneralRe: UpdateResource on Win95 Pin
Tomasz Sowinski13-Sep-01 6:20
Tomasz Sowinski13-Sep-01 6:20 
GeneralRe: UpdateResource on Win95 Pin
13-Sep-01 8:14
suss13-Sep-01 8:14 
GeneralRe: UpdateResource on Win95 Pin
Tomasz Sowinski13-Sep-01 8:25
Tomasz Sowinski13-Sep-01 8:25 
GeneralRe: UpdateResource on Win95 Pin
13-Sep-01 9:38
suss13-Sep-01 9:38 
GeneralRe: UpdateResource on Win95 Pin
Tomasz Sowinski13-Sep-01 9:43
Tomasz Sowinski13-Sep-01 9:43 
GeneralRe: UpdateResource on Win95 Pin
13-Sep-01 9:51
suss13-Sep-01 9:51 
GeneralRe: UpdateResource on Win95 Pin
Tomasz Sowinski13-Sep-01 9:55
Tomasz Sowinski13-Sep-01 9:55 
GeneralRe: UpdateResource on Win95 Pin
Joaquín M López Muñoz13-Sep-01 8:39
Joaquín M López Muñoz13-Sep-01 8:39 
GeneralContext Help Pin
13-Sep-01 5:52
suss13-Sep-01 5:52 
GeneralRe: Context Help Pin
Ganesh Ramaswamy13-Sep-01 7:12
Ganesh Ramaswamy13-Sep-01 7:12 
GeneralLogging to a text file Pin
User 988513-Sep-01 5:12
User 988513-Sep-01 5:12 
GeneralRe: Logging to a text file Pin
Tomasz Sowinski13-Sep-01 5:21
Tomasz Sowinski13-Sep-01 5:21 
GeneralRe: Logging to a text file Pin
User 988513-Sep-01 5:22
User 988513-Sep-01 5:22 

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.