ios rdstate() function in C++ with Examples
The rdstate() method of ios class in C++ is used to read the internal state of this stream.
iostate rdstate() const;
Parameters: This method does not accept any parameter.
Return Value: This method returns the current internal state of this stream.
stream rdstate: 0
stream rdstate: 4
My Personal Notes arrow_drop_up
Please Login to comment...