2What are vectors Similar to in Java
Arraylists
3Declair vector
vector<data type> name[(size, default_value)] [= {pos0, pos1, pos2} ]
4Acessing vectors
vector.at(position) or vector[position]
5Make vector 1 space bigger with value
vector.push_back(value)
6How to return the size of a vector?
vector.size()
7How to set the contents and size of a vector to 0
vector.clear()
8How to add vectors to a file
#include<vector>
9How to declair a vector of vectors
vector<vector<int>> name
10How to acess a position in a vector of vectors
vector_of_vectors[vector_position][position_in_vector_position]