remove a element from vector c++ pop code example
Example: c++ remove element from vector
vector.erase(position) // remove certain position
// or
vector.erase(left,right) // remove positions within range
vector.erase(position) // remove certain position
// or
vector.erase(left,right) // remove positions within range