Click here to Skip to main content
15,916,091 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Firing events doesn't work Pin
Romiks9-Mar-07 3:16
Romiks9-Mar-07 3:16 
QuestionSending and receiving objects as parameters and return values Pin
xelontr5-Mar-07 4:38
xelontr5-Mar-07 4:38 
AnswerRe: Sending and receiving objects as parameters and return values Pin
prasad_som5-Mar-07 6:05
prasad_som5-Mar-07 6:05 
Questionstorage of employee objects in a container Pin
The Bat Man1-Mar-07 5:46
The Bat Man1-Mar-07 5:46 
AnswerRe: storage of employee objects in a container Pin
Steve S1-Mar-07 6:44
Steve S1-Mar-07 6:44 
QuestionRe: storage of employee objects in a container Pin
The Bat Man1-Mar-07 8:36
The Bat Man1-Mar-07 8:36 
AnswerRe: storage of employee objects in a container Pin
Steve S1-Mar-07 21:23
Steve S1-Mar-07 21:23 
QuestionRe: storage of employee objects in a container [modified] Pin
The Bat Man2-Mar-07 4:49
The Bat Man2-Mar-07 4:49 
The latter, multiple employees in the same department. How would I use a vector inside of a map? I tried the following example but received an error C2665 'std::pair<_Ty1,_Ty2>::__ctor' : none of the 3 overloads can convert parameter 2 from type 'const char [5]'

<code>
typedef map<int, vector<string> > EmployeeType;

void MapVectorTest()
{
EmployeeType theMap;
EmployeeType::iterator theIterator;

theMap.insert(EmployeeType::value_type(0, "Zero")); // error C2665
}
</code>



-- modified at 14:43 Friday 2nd March, 2007

Thanks,
Jason


-- modified at 14:48 Friday 2nd March, 2007
AnswerRe: storage of employee objects in a container Pin
kalkwarf1-Mar-07 12:15
kalkwarf1-Mar-07 12:15 
Questionstd::string Pin
LCI1-Mar-07 3:19
LCI1-Mar-07 3:19 
AnswerRe: std::string Pin
Michael Dunn1-Mar-07 5:48
sitebuilderMichael Dunn1-Mar-07 5:48 
Questionspecialization of STL-map Pin
Mr.Brainley23-Feb-07 4:28
Mr.Brainley23-Feb-07 4:28 
AnswerRe: specialization of STL-map Pin
Mr.Brainley23-Feb-07 4:56
Mr.Brainley23-Feb-07 4:56 
QuestionWarnings in my project Pin
Pankaj.Jain23-Feb-07 0:59
professionalPankaj.Jain23-Feb-07 0:59 
AnswerRe: Warnings in my project Pin
Stuart Dootson23-Feb-07 8:17
professionalStuart Dootson23-Feb-07 8:17 
QuestionHow to Add String in MultiColumn ListBox Pin
Pankaj.Jain22-Feb-07 0:04
professionalPankaj.Jain22-Feb-07 0:04 
QuestionRe: How to Add String in MultiColumn ListBox Pin
prasad_som22-Feb-07 1:04
prasad_som22-Feb-07 1:04 
GeneralRe: How to Add String in MultiColumn ListBox Pin
Pankaj.Jain22-Feb-07 1:49
professionalPankaj.Jain22-Feb-07 1:49 
AnswerRe: How to Add String in MultiColumn ListBox Pin
prasad_som22-Feb-07 2:13
prasad_som22-Feb-07 2:13 
GeneralRe: How to Add String in MultiColumn ListBox Pin
Pankaj.Jain22-Feb-07 18:45
professionalPankaj.Jain22-Feb-07 18:45 
AnswerRe: How to Add String in MultiColumn ListBox [modified] Pin
Stuart Dootson22-Feb-07 2:27
professionalStuart Dootson22-Feb-07 2:27 
QuestionCString::AllocSysString Pin
Q2A19-Feb-07 17:17
Q2A19-Feb-07 17:17 
AnswerRe: CString::AllocSysString Pin
prasad_som19-Feb-07 18:29
prasad_som19-Feb-07 18:29 
QuestionCComBSTR Question Pin
Like2Byte19-Feb-07 5:40
Like2Byte19-Feb-07 5:40 
AnswerRe: CComBSTR Question Pin
prasad_som19-Feb-07 6:13
prasad_som19-Feb-07 6:13 

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.