![]() |
![]() |
![]() |
![]() |
![]() |
|
To
remove an element from a particular place, you use the
removeElementAt method, providing an integer index as the argument.
Thus, if you want to remove the first element of a vector, displacing all
the other elements to fill in the hole, you use removeElementAt
with an index of 0:
v.removeElementAt(0)