This program illustrates the use of the STL remove() algorithm to remove all copies of a given value from a vector of integers, or from a subrange of such a vector. Press Enter to continue ... Here are the sixteen values in the vector: 1 2 2 3 4 5 2 3 6 7 2 8 3 9 10 2 Size of vector to start: 16 Capacity of vector to start: 16 Press Enter to continue ... Now we remove all 5 copies of the value 2. Press Enter to continue ... Size of vector immediately after the call to remove: 16 Capacity of vector immediately after the call to remove: 16 Contents of vector immediately after the call to remove: 1 3 4 5 3 6 7 8 3 9 10 8 3 9 10 2 Press Enter to continue ... Now we erase the last five values of the vector. Press Enter to continue ... Size of vector immediately after the call to erase: 11 Capacity of vector immediately after the call to erase: 16 Contents of vector immediately after the call to erase: 1 3 4 5 3 6 7 8 3 9 10 Press Enter to continue ... Now we remove the two copies of the value 3 from among the first 8 values. Press Enter to continue ... Size of vector immediately after the call to remove: 11 Capacity of vector immediately after the call to remove: 16 Contents of vector immediately after the call to remove: 1 4 5 6 7 8 7 8 3 9 10 Press Enter to continue ... Size of vector immediately after the call to erase: 9 Capacity of vector immediately after the call to erase: 16 Contents of vector immediately after the call to erase: 1 4 5 6 7 8 3 9 10 Press Enter to continue ...