Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <cstdlib>
- using std::cout;
- using std::endl;
- using std::vector;
- int main(int argc, char** argv){
- vector<int> v;
- v.push_back(5);
- v.push_back(10);
- cout<<"Inserting"<<endl;
- cout<<v[0]<<endl<<v[1]<<endl<<v[2]<<endl<<v[3]<<endl;
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement