This program illustrates the use of the istream_iterator and ostream_iterator in conjunction with the copy algorithm to provide "deque I/O". Press Enter to continue ... Initial contents of q, displayed using the copy algorithm to copy values from q 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 deque 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 q: 2 4 6 8 10 Press Enter to continue ...