Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set<int > a;
- a.insert(1);
- a.insert(34);
- a.insert(7);
- a.insert(7);
- for (set<int>::iterator it = a.begin(); it != a.end(); it++){
- cout << *it << " ";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement