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.
ios::init
ios                                         Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  Protected: void init( streambuf* psb );
 
  Parameter   Description
 
  <psb>       A pointer to an existing streambuf object.
 
  Remarks
 
  Associates an object of a streambuf-derived class with this stream and,
  if necessary, deletes a dynamically created stream buffer object that
  was previously associated. The init function is useful in derived
  classes in conjunction with the protected default istream, ostream, and
  iostream constructors. An ios-derived class constructor can thus
  construct and attach its own pretermined stream buffer object.
 
  See Also
 
  istream::istream, ostream::ostream, iostream::iostream
 
 
                                     -♦-