check whether we're at the end of the source file
Declared in <streams.h>
<streams.h>
bool eof() const;
True if the read position is at the end of the source file.