Resizes a vector if a second argument is give the elements are filled with that value.
void resize(size_type sz, T c = T());
The vector class provides various member functions for vector data manipulation.