I was wondering if there was a way to reset the eof state in C++?
Presumably you mean on an iostream. In this case, the stream's clear() should do the job.
clear()