Push Back

push_back()

just like push() in Javascript for vectors you are adding a new element to the vector and therefore creating a single new index.

// playersList initially 55, 99, 44      (size is 3)

playersList.push_back(77); // Appends new element, sets value to 77 

// playersList is now    55, 99, 44, 77  (size is 4)