Advertisement
Guest User

Untitled

a guest
Aug 10th, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4. int main(void){
  5.     vector<int> vt;
  6.     vt.push_back(0);
  7.     vt.push_back(1);
  8.     vt.push_back(2);
  9.     unsigned int i=0;
  10.     while(i<vt.size()){
  11.         cout <<vt.at(i);
  12.         i++;
  13.     }
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement