Leaked source code of windows server 2003
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.

37 lines
792 B

  1. // iostream standard header
  2. #ifndef _IOSTREAM_
  3. #define _IOSTREAM_
  4. #include <istream>
  5. #ifdef _MSC_VER
  6. #pragma pack(push,8)
  7. #endif /* _MSC_VER */
  8. _STD_BEGIN
  9. // OBJECTS
  10. static ios_base::Init _Ios_init;
  11. extern _CRTIMP2 istream cin;
  12. extern _CRTIMP2 ostream cout;
  13. extern _CRTIMP2 ostream cerr, 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. static _Winit _Wios_init;
  24. extern _CRTIMP2 wistream wcin;
  25. extern _CRTIMP2 wostream wcout, wcerr, wclog;
  26. _STD_END
  27. #ifdef _MSC_VER
  28. #pragma pack(pop)
  29. #endif /* _MSC_VER */
  30. #endif /* _IOSTREAM_ */
  31. /*
  32. * Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
  33. * Consult your license regarding permissions and restrictions.
  34. */