This program illustrates the use of the STL replace_copy() algorithm to copy all values from one vector of integers to another and simultaneously replace, in the output, all instances of a given value with another value. Press Enter to continue ... Here are the values in the vector v1: 1 2 2 3 4 5 2 3 Press Enter to continue ... Here are the values in the vector v2: 101 102 103 104 105 106 107 108 109 110 111 112 Press Enter to continue ... Now we copy all values from v1 to v2, starting at the 3rd value of v2, and simultaneously replace each 2 with 222. Press Enter to continue ... Here are the revised values in v2: 101 102 1 222 222 3 4 5 222 3 111 112 Press Enter to continue ... The iterator returned by the algorithm is pointing at the value 111. Press Enter to continue ...