home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / gcc / !GCC / gpp / h / stream < prev    next >
Encoding:
Text File  |  1993-12-07  |  679 b   |  29 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. inline istream& WS(istream& str) { return ws(str); }
  27.  
  28. #endif /* !_COMPAT_STREAM_H */
  29.