#include <iostream.h> int rdstate() const;
ios
rdstate() . - C++ , -, . - , .
ios.
rdstate() (ios::goodbit), ; .