This program illustrates the use of the istream_iterator and ostream_iterator in conjunction with the copy algorithm to provide "vector I/O". Press Enter to continue ... Initial contents of v, displayed using the copy algorithm to copy values from v to the standard output with the help of an ostream_iterator: 1 2 3 4 5 Press Enter to continue ... Now we copy some values from standard input into a vector using the copy algorithm and an istream_iterator. Enter five integer values, followed by your end-of-file character: 2 4 6 8 10 ^Z Final contents of v: 2 4 6 8 10 Press Enter to continue ...