The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
class istream_withassign
istream                                     Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  Description
 
  The istream_withassign class is a variant of istream that allows object
  assignment. The predefined object cin is an object of this class and
  thus may be reassigned at run time to a different istream object.
 
  A program that normally expects input from stdin, for example, could be
  temporarily directed to accept its input from a disk file.
 
  Predefined Objects
 
  The cin object is a predefined object of class ostream_withassign. It is
  connected to stdin (standard input, file descriptor 0).
 
  The objects cin, cerr, and clog are tied to cout so that use of any of
  these may  cause cout to be flushed.
 
  #include <iostream.h>
 
  See Also
 
  ostream_withassign
 
  Public Members
 
  Construction/Destruction
 
  istream_withassign   Constructs an istream_withassign object.
 
  ~istream_withassign   Destroys an istream_withassign object.
 
  Operators
 
  operator =   Indicates an assignment operator.
 
 
                                     -♦-