SyntaxFix
Write A Post
Hire A Developer
Questions
To erase 1st element you can use:
vector<int> mV{ 1, 2, 3, 4, 5 }; vector<int>::iterator it; it = mV.begin(); mV.erase(it);