Advertisement
Vidrohi

Untitled

May 28th, 2024
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | Source Code | 0 0
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. std::vector<int> testArr{1,2,3,4};
  5.  
  6. int main()
  7. {
  8.     for(size_t i = 0; i<testArr.size(); ++i)
  9.     {
  10.         std::cout<<i<<"\n";
  11.     }
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement