This program illustrates the use of the STL adjacent_difference() algorithm (default version) from to find the differences between successive pairs of integers in one vector, and write them to a second vector. Press Enter to continue ... Here are the values in the first vector: 10 12 16 22 30 Press Enter to continue ... And here are the values in the second vector: 1 3 5 7 9 11 13 Press Enter to continue ... Now we use ajacent_difference() to compute the adjacent differences for the entire first vector, and write them to the second vector, starting at the second position of the second vector. Press Enter to continue ... Here are the integer values in the second vector after this has been done: 1 10 2 4 6 8 13 Press Enter to continue ... The value pointed to by the iterator returned by adjacent_difference() is 13. Press Enter to continue ...