how to remove the last element of a vector in c++ code example Example: pop_back Removes the last element of the vector