Skip to content

Tag Archives: cpp-ios

The noshowpos() method of stream manipulators in C++ is used to clear the showbase format flag for the specified str stream. This flag displays the… Read More
The rdstate() method of ios class in C++ is used to read the internal state of this stream. Syntax: iostate rdstate() const; Parameters: This method… Read More
The operator!() method of ios class in C++ is used to any error flag of this stream is set. This includes the failbit or the… Read More
The operator() method of ios class in C++ is used to any error flag of this stream is set. This includes the failbit or the… Read More
The clear() method of ios class in C++ is used to change the current state of the specified flag by setting it. Hence this function… Read More
The good() method of ios class in C++ is used to check if the stream is good enough to work. It means that this function… Read More
The setstate() method of ios class in C++ is used to change the current state of this stream by setting the flags passed as the… Read More
The eof() method of ios class in C++ is used to check if the stream is has raised any EOF (End Of File) error. It… Read More
The bad() method of ios class in C++ is used to check if the stream is has raised any bad error. It means that this… Read More
The fail() method of ios class in C++ is used to check if the stream is has raised any fail error. It means that this… Read More
The operator() method of ios class in C++11 is used to any error flag of this stream is set. This includes the failbit or the… Read More
The dec() method of stream manipulators in C++ is used to set the baseline format flag for the specified str stream. This flag sets the… Read More
The fixed() method of stream manipulators in C++ is used to set the floatfield format flag for the specified str stream. This flag sets the… Read More
The scientific() method of stream manipulators in C++ is used to set the floatfield format flag for the specified str stream. This flag sets the… Read More
The internal() method of stream manipulators in C++ is used to set the adjustfield format flag for the specified str stream. This flag sets the… Read More