Formula for deleting vectors? : Basically, I have a vector of a struct. I'm making the game Monopoly and I have a vector of a playerStruct. I have an option for a player to leave the game. However, I don't know how to delete any player as the vector becomes smaller and smaller. For example I have 3 players

    Players 0,1,2
And I use the erase function, 

    erase(vect.begin()+turnNumber;
I first erase player 0 which is just erase(vect.begin()+0) and erases the first element. However, if I try to erase player 1 (vect.begin()+1) I end up erasing player 2 as the vector has shrunk to a size of 2.
TDLR: **How do I erase a player at any point while the vector decreases? I can't seem to think of a formula erase(vect.begin()+(a number)) to be able to erase any player from the game without erasing another player that isn't meant to be erased.**
Thank you.