I have a std::vector<int>, and I want to delete the nth element. How do I do that?
std::vector<int>
n
Example:
std::vector<int> vec; vec.push_back(6); vec.push_back(-17); vec.push_back(12); vec.erase(???);