Sunday, 8 September 2013

istream class


What is the purpose of istream class?

The istream class performs activities specific to input. It is derived from the ios class. The most commonly used member function of this class is the overloaded >> operator which can extract values of all basic types. We can extract even a string using this operator.