vector::push_back

vector::push_back

void push_back(const T& x);

The member function inserts an element with value x at the end of the controlled sequence.

See the related sample program.