#note merge with file i/o chapter?

Default constructor of std::istream_iterator constructs an iterator which represents the end of the stream. Thus, std::copy(std::istream_iterator<int>(ifs), std::istream_iterator<int>(), .... means to copy from the current position in ifs to the end.

String streams

Printing collections with std::iostream

Reading a file till the end

Parsing files