+ 1
1- What kind of Stream Manipulators c++ has. And which type of headers they are use.
2- What is the advantage of using Manipulators in c++ program. 3- Enumerate Stream Manipulators Headers
1 Answer
+ 1
istream and ostream.
these can be overloaded to input and output specific objects. these objects are usually user defined classes.
ex:
you would overload the ostream << operator for a student class, this way you just have to write cout << s1. instead of s1.get.... same for the istream. you can customize user input and create object from that or even reading in a file.
hope this answers what you were trying to ask.