Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert an int to char array rep Pin
nde_plume23-Dec-03 9:08
nde_plume23-Dec-03 9:08 
GeneralRe: Convert an int to char array rep Pin
David Crow23-Dec-03 4:28
David Crow23-Dec-03 4:28 
GeneralChart Solutions Pin
Monty223-Dec-03 2:38
Monty223-Dec-03 2:38 
QuestionI am new in VC++, can anyone help me? Pin
LostRabbit23-Dec-03 1:22
LostRabbit23-Dec-03 1:22 
AnswerRe: I am new in VC++, can anyone help me? Pin
Maximilien23-Dec-03 3:06
Maximilien23-Dec-03 3:06 
GeneralGetting class information Pin
Md Saleem Navalur23-Dec-03 1:18
Md Saleem Navalur23-Dec-03 1:18 
GeneralRe: Getting class information Pin
Robert Kuster23-Dec-03 5:44
Robert Kuster23-Dec-03 5:44 
GeneralElement in a vector of set Pin
Anthony_Yio23-Dec-03 1:03
Anthony_Yio23-Dec-03 1:03 
Hello, how do I access the element which resides in a vector of set. The codes are show below.

vector< set<int> > objSetVt;

set<int> objSet1;

objSet1.insert(2);
objSet1.insert(4);
objSet1.insert(2);
objSet1.insert(7);

set<int> objSet2(objSet1);
set<int> objSet3(objSet1);


objSetVt.push_back(objSet1);
objSetVt.push_back(objSet2);
objSetVt.push_back(objSet3);


vector< set<int> >::iterator objVtItr;

for(objVtItr = objSetVt.begin(); objVtItr < objSetVt.end(); objVtItr++)
{
//??? How to access the element now
//objVtItr[0][0] <-- this give compile error
}



Sonork 100.41263:Anthony_Yio
GeneralRe: Element in a vector of set Pin
valikac23-Dec-03 5:49
valikac23-Dec-03 5:49 
GeneralRe: Element in a vector of set Pin
Jijo.Raj23-Dec-03 17:45
Jijo.Raj23-Dec-03 17:45 
GeneralControl doesnot show in the UIDeactivated mode Pin
safee ullah23-Dec-03 0:58
safee ullah23-Dec-03 0:58 
Generalstrange problem with activex control Pin
safee ullah23-Dec-03 0:22
safee ullah23-Dec-03 0:22 
GeneralRe: strange problem with activex control Pin
Monty223-Dec-03 1:12
Monty223-Dec-03 1:12 
GeneralTricky Question Pin
SiddharthAtw22-Dec-03 23:59
SiddharthAtw22-Dec-03 23:59 
GeneralRe: Tricky Question Pin
jhwurmbach23-Dec-03 0:14
jhwurmbach23-Dec-03 0:14 
GeneralRe: Tricky Question Pin
Ian Darling23-Dec-03 0:16
Ian Darling23-Dec-03 0:16 
GeneralRe: Tricky Question Pin
Monty223-Dec-03 1:08
Monty223-Dec-03 1:08 
GeneralRe: Tricky Question Pin
SiddharthAtw23-Dec-03 1:59
SiddharthAtw23-Dec-03 1:59 
GeneralRe: Tricky Question Pin
Ian Darling23-Dec-03 2:14
Ian Darling23-Dec-03 2:14 
GeneralRe: Tricky Question Pin
SiddharthAtw23-Dec-03 18:11
SiddharthAtw23-Dec-03 18:11 
GeneralHow can u initialize member variable while declaring??? Pin
abudu23-Dec-03 1:14
abudu23-Dec-03 1:14 
GeneralRe: How can u initialize member variable while declaring??? Pin
SiddharthAtw23-Dec-03 2:04
SiddharthAtw23-Dec-03 2:04 
Generalfirst feed the pointers Pin
abudu23-Dec-03 17:14
abudu23-Dec-03 17:14 
GeneralRe: Tricky Question Pin
nde_plume23-Dec-03 4:13
nde_plume23-Dec-03 4:13 
Generalprinter problem Pin
skpanda22-Dec-03 23:52
skpanda22-Dec-03 23:52 

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.