how to use erase for vector in c++ 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