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

  1. /*[]------------------------------------------------------------[]*/
  2. /*|                                                              |*/
  3. /*|     stinit.cpp                                               |*/
  4. /*|                                                              |*/
  5. /*|     Class ios                                                |*/
  6. /*|          void ios::init( streambuf * )                       |*/
  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. void ios::init(streambuf* sbp)
  22. {
  23.     nwords = 0;
  24.     state = ospecial = 0;
  25.     ispecial = skipping;
  26.     x_flags = skipws;
  27.     x_precision = x_width = 0;
  28.     x_fill = ' ';
  29.     x_tie = 0;
  30.     bp = sbp;
  31. }
  32.  
  33.  
  34.