for (int i = start; i < end; i++) { int pos = i; std::vector<char>::iterator it = (newArr.begin() + pos); newArr.erase(it);
erase
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)