This program illustrates the use of the STL adjacent_difference() algorithm (extended version) from to find the value of the programmer-defined function f(a,b)=2*a+b applied to successive pairs of integers in one vector, and write these values to a second vector. Press Enter to continue ... Here are the values in the first vector: 2 4 6 8 10 Press Enter to continue ... And here are the values in the second vector: 1 3 5 7 9 11 13 Press Enter to continue ... Next a call to ajacent_difference computes the function 2a+b for all integer pairs in the first vector, and writes the values 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 2 10 16 22 28 13 Press Enter to continue ... And here is the value pointed to by the iterator returned by the algorithm: 13 Press Enter to continue ...