erase() takes an iterator to the element to be deleted as argument. You can use begin() to get an iterator to the first element in the vector. You can then use operator+ on the iterator to make it point to a certain object.
This code will erase element at position i: MyVect.erase(MyVect.begin() + i);