in my interview, a question is :what's wrong
for (aIterator = aVector.begin();aIterator != aVector.end())
if (aVector.get(aIterator )==0)
aIterator =aVector.erase(aIterator );
so, if the last element is 0,error ?I failed to answer this question
(C++)How to get object from vector one by one in a loop? thanks. After I erase an element from a list,where the pointer will point to?