Skip to content

Tag Archives: CPP-Functions

The fill() function in C++ STL is used to fill some default value in a container. The fill() function can also be used to fill… Read More
The setbase() method of iomaip library in C++ is used to set the ios library basefield flag based on the argument specified as the parameter… Read More
The setprecision() method of iomaip library in C++ is used to set the ios library floating point precision based on the precision specified as the… Read More
The () method of iomaip library in C++ is used to set the ios library format flags specified as the parameter to this method. Syntax:… Read More
The setfill() method of iomaip library in C++ is used to set the ios library fill character based on the character specified as the parameter… Read More
The setw() method of iomaip library in C++ is used to set the ios library field width based on the width specified as the parameter… Read More
The resetiosflags() method of iomaip library in C++ is used to reset the ios library format flags specified as the parameter to this method. Syntax:… Read More
The forward_list::insert_after() is a builtin function in C++ STL which gives us a choice to insert elements at the position just after the element pointed… 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