Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
Misc
7.7K+ articles
C++
3.8K+ articles
CPP-Functions
619+ articles
cpp-manipulators
34+ articles
cpp-ios
34 posts
Recent Articles
How to Right Justify Output in C++?
Last Updated: 23 July 2025
In C++, the outputs produced by the program are by default to the left of the screen. In this article, we will learn how to right justify the output in C++.Example:Input:f...
read more
C++ Programs
C++
Picked
cpp-ios
cpp-manipulators
CPP Examples
How to Manipulate cout Object using C++ IOS Library?
Last Updated: 23 July 2025
C++ ios_base class has its aspects to format cout object to display different formatting features. For example, the following ios_base class can format cout object to disp...
read more
C++
Geeks Premier League
Geeks-Premier-League-2022
cpp-ios
ios operator !() function in C++ with Examples
Last Updated: 12 July 2025
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 badbit. Syntax:bool operator!() const;Paramet...
read more
Misc
C++
CPP-Functions
cpp-ios
ios operator() function in C++11 with Examples
Last Updated: 12 July 2025
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 badbit. Syntax:explicit operator bool() const...
read more
Misc
C++
CPP-Functions
cpp-ios
ios operator() function in C++ with Examples
Last Updated: 12 July 2025
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 badbit. Syntax:operator void*() const;Parameter...
read more
Misc
C++
CPP-Functions
cpp-ios
ios rdstate() function in C++ with Examples
Last Updated: 12 July 2025
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 does not accept any para...
read more
Misc
C++
CPP-Functions
cpp-ios
ios clear() function in C++ with Examples
Last Updated: 12 July 2025
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 changes the internal state of this stre...
read more
Misc
C++
CPP-Functions
cpp-ios
ios eof() function in C++ with Examples
Last Updated: 12 July 2025
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 means that this function will check if this stream has it...
read more
Misc
C++
CPP-Functions
cpp-ios
ios good() function in C++ with Examples
Last Updated: 12 July 2025
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 will check if this stream has raised any error or ...
read more
Misc
C++
CPP-Functions
cpp-ios
ios setstate() function in C++ with Examples
Last Updated: 12 July 2025
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 parameters. Hence this function changes the...
read more
Misc
C++
CPP-Functions
cpp-ios
ios bad() function in C++ with Examples
Last Updated: 12 July 2025
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 function will check if this stream has its badbit set. ...
read more
Misc
C++
CPP-Functions
cpp-ios
ios fail() function in C++ with Examples
Last Updated: 12 July 2025
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 function will check if this stream has its failbit s...
read more
Misc
C++
CPP-Functions
cpp-ios
ios manipulators fixed() function in C++
Last Updated: 12 July 2025
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 floatfield to fixed. It means t...
read more
Misc
C++
cpp-ios
cpp-manipulators
ios manipulators dec() function in C++
Last Updated: 12 July 2025
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 baseline for Decimal numbers. Hence...
read more
Misc
C++
cpp-ios
cpp-manipulators
ios manipulators left() function in C++
Last Updated: 12 July 2025
The left() method of stream manipulators in C++ is used to set the adjustfield format flag for the specified str stream. This flag sets the adjustfield to left. It means t...
read more
Misc
C++
cpp-ios
cpp-manipulators
1
2
3