Access Element on set ?

Posted by mr.bio on Stack Overflow See other posts from Stack Overflow or by mr.bio
Published on 2010-03-29T20:16:07Z Indexed on 2010/03/29 20:23 UTC
Read the original article Hit count: 190

Filed under:
|
|

How do i get access to an element in a set ?

vector<int> myvec (4,100);
int first = myvec.at(0);

set<int> myset;
myset.insert(100);
int setint = ????

Can anybody help ?

© Stack Overflow or respective owner

Related posts about c++

Related posts about help