|
|
#include <iostream.h>int good() const;
The good( ) function is a member of ios.
The good( ) function returns nonzero if no I/O errors have occurred in the associated stream; otherwise, it returns zero.
Related functions are bad( ), fail( ), eof( ), clear( ), and rdstate( ).
|
|