how to get earsed element in vector c++ code example Example: vector erase specific element vector.erase( vector.begin() + 3 ); // Deleting the fourth element