I had to interface with zlib so I downloaded a thing called gzstream from http://www.cs.unc.edu/Research/compgeom/gzstream/
The problem is that when I try to reset the EOF flags on an igzstream object like so
the EOF flag is cleared but any subsequent calls on operator>>() don't work.
I looked through the code and the derived igzstream class does not seem to be overloading any of the flags from its parent class. And I'm guessing this should not be an issue (or I'm most probably wrong). I'd appreciate it if anyone can point out how to fix this.