home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / iostream < prev    next >
Text File  |  1998-06-16  |  837b  |  43 lines

  1. // iostream standard header
  2.  
  3. #if     _MSC_VER > 1000
  4. #pragma once
  5. #endif
  6.  
  7. #ifndef _IOSTREAM_
  8. #define _IOSTREAM_
  9. #include <istream>
  10.  
  11. #ifdef  _MSC_VER
  12. #pragma pack(push,8)
  13. #endif  /* _MSC_VER */
  14. _STD_BEGIN
  15.         // OBJECTS
  16. static ios_base::Init _Ios_init;
  17. extern _CRTIMP istream cin;
  18. extern _CRTIMP ostream cout;
  19. extern _CRTIMP ostream cerr, clog;
  20.         // CLASS _Winit
  21. class _CRTIMP _Winit {
  22. public:
  23.     _Winit();
  24.     ~_Winit();
  25. private:
  26.     static int _Init_cnt;
  27.     };
  28.         // WIDE OBJECTS
  29. static _Winit _Wios_init;
  30. extern _CRTIMP wistream wcin;
  31. extern _CRTIMP wostream wcout, wcerr, wclog;
  32. _STD_END
  33. #ifdef  _MSC_VER
  34. #pragma pack(pop)
  35. #endif  /* _MSC_VER */
  36.  
  37. #endif /* _IOSTREAM_ */
  38.  
  39. /*
  40.  * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED. 
  41.  * Consult your license regarding permissions and restrictions.
  42.  */
  43.