home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 2.ddi / CLIB2.ZIP / STDFILE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-07  |  1.2 KB  |  28 lines

  1. /*-----------------------------------------------------------------------*
  2.  * filename - stdfile.cpp
  3.  * instantiations needed for C++ programs
  4.  *-----------------------------------------------------------------------*/
  5.  
  6. /*[]------------------------------------------------------------[]*/
  7. /*|                                                              |*/
  8. /*|     Turbo C++ Run Time Library - Version 1.0                 |*/
  9. /*|                                                              |*/
  10. /*|                                                              |*/
  11. /*|     Copyright (c) 1990 by Borland International              |*/
  12. /*|     All Rights Reserved.                                     |*/
  13. /*|                                                              |*/
  14. /*[]------------------------------------------------------------[]*/
  15.  
  16. #include <stream.h>
  17.  
  18. static filebuf _Cdecl outfileb(stdout);    // make cout
  19. ostream _Cdecl cout(&outfileb);
  20.  
  21. static filebuf _Cdecl infileb(stdin);    // make cin and tie to cout
  22. istream _Cdecl cin(&infileb, 1, &cout);
  23.  
  24. static filebuf _Cdecl errfileb(stderr);    // make cerr
  25. ostream _Cdecl cerr(&errfileb);
  26.  
  27. whitespace WS = { 0 };            // whitespace object
  28.