MeehoweCK

Untitled

Feb 22nd, 2021
655
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     vector<int> wektor;
  9.     wektor.push_back(3);
  10.     wektor.push_back(10);
  11.     wektor.push_back(20);
  12.     wektor.push_back(1);
  13.  
  14.     for(unsigned i = 0; i < wektor.size(); ++i)
  15.         cout << wektor[i] << '\t';
  16.     return 0;
  17. }
RAW Paste Data