Advertisement
jeff69

Untitled

Mar 29th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. set<int > a;
  2. a.insert(1);
  3. a.insert(34);
  4. a.insert(7);
  5. a.insert(7);
  6. for (set<int>::iterator it = a.begin(); it != a.end(); it++){
  7. cout << *it << " ";
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement