Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
877 B

  1. // iostream standard header for Microsoft
  2. #pragma once
  3. #ifndef _IOSTREAM_
  4. #define _IOSTREAM_
  5. #include <istream>
  6. #pragma pack(push,8)
  7. #pragma warning(push,3)
  8. _STD_BEGIN
  9. // OBJECTS
  10. extern _CRTIMP2 istream cin, *_Ptr_cin;
  11. extern _CRTIMP2 ostream cout, *_Ptr_cout;
  12. extern _CRTIMP2 ostream cerr, *_Ptr_cerr;
  13. extern _CRTIMP2 ostream clog, *_Ptr_clog;
  14. // CLASS _Winit
  15. class _CRTIMP2 _Winit {
  16. public:
  17. _Winit();
  18. ~_Winit();
  19. private:
  20. static int _Init_cnt;
  21. };
  22. // WIDE OBJECTS
  23. extern _CRTIMP2 wistream wcin, *_Ptr_wcin;
  24. extern _CRTIMP2 wostream wcout, *_Ptr_wcout;
  25. extern _CRTIMP2 wostream wcerr, *_Ptr_wcerr;
  26. extern _CRTIMP2 wostream wclog, *_Ptr_wclog;
  27. _STD_END
  28. #pragma warning(pop)
  29. #pragma pack(pop)
  30. #endif /* _IOSTREAM_ */
  31. /*
  32. * Copyright (c) 1992-2001 by P.J. Plauger. ALL RIGHTS RESERVED.
  33. * Consult your license regarding permissions and restrictions.
  34. V3.10:0009 */