returning a vector with a removed element cpp 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