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

  1. /*[]------------------------------------------------------------[]*/
  2. /*|                                                              |*/
  3. /*|     isteuchr.cpp                                             |*/
  4. /*|                                                              |*/
  5. /*|     Class istream                                            |*/
  6. /*|          istream& istream::operator>> ( unsigned char& )     |*/
  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. istream _FAR & istream::operator>> (unsigned char _FAR & c)
  22. {
  23.     if( ipfx0() )
  24.         c = bp->in_avail() ? bp->sbumpc() : do_get();
  25.     return *this;
  26. }
  27.  
  28.  
  29.