home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_USR08B.LHA / gerlib / support / g++include / stream.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-12  |  770 b   |  32 lines

  1. #ifndef _COMPAT_STREAM_H
  2. #define _COMPAT_STREAM_H
  3.  
  4. // Compatibility with old library.
  5.  
  6. #define _STREAM_COMPAT
  7. #include <iostream.h>
  8.  
  9. extern char* form(const char*, ...);
  10.  
  11. extern char* dec(long, int=0);
  12. extern char* dec(int, int=0);
  13. extern char* dec(unsigned long, int=0);
  14. extern char* dec(unsigned int, int=0);
  15.  
  16. extern char* hex(long, int=0);
  17. extern char* hex(int, int=0);
  18. extern char* hex(unsigned long, int=0);
  19. extern char* hex(unsigned int, int=0);
  20.  
  21. extern char* oct(long, int=0);
  22. extern char* oct(int, int=0);
  23. extern char* oct(unsigned long, int=0);
  24. extern char* oct(unsigned int, int=0);
  25.  
  26. char*        chr(char ch, int width = 0);
  27. char*        str(const char* s, int width = 0);
  28.  
  29. inline istream& WS(istream& str) { return ws(str); }
  30.  
  31. #endif /* !_COMPAT_STREAM_H */
  32.