good
Syntax:
  #include <fstream>
  bool good();

The function good() returns true if no errors have occurred with the current stream, false otherwise.