home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 10.ddi / IOSTRSRC.ZIP / ISTCTR3.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  951 b   |  32 lines

  1. /*[]------------------------------------------------------------[]*/
  2. /*|                                                              |*/
  3. /*|     istctr3.cpp                                              |*/
  4. /*|                                                              |*/
  5. /*|     Class istream                                            |*/
  6. /*|          istream::istream( streambuf *, int, ostream * )     |*/
  7. /*|                                                              |*/
  8. /*[]------------------------------------------------------------[]*/
  9.  
  10. /*
  11.  *      C/C++ Run Time Library - Version 5.0
  12.  *
  13.  *      Copyright (c) 1990, 1992 by Borland International
  14.  *      All Rights Reserved.
  15.  *
  16.  */
  17.  
  18. #include <ioconfig.h>
  19. #include <iostream.h>
  20.  
  21. // obsolete: set skip via format, tie via tie() function
  22.  
  23. istream::istream(streambuf* s, int sk, ostream* t)
  24. {
  25.     ios::init(s);
  26.     gcount_ = 0;
  27.     skip(sk);
  28.     tie(t);
  29. }
  30.  
  31.  
  32.