#ifndef __FILE_USUAL_H_SEEN__ #pragma once #define __FILE_USUAL_H_SEEN__ 1 #undef TURBO_CPP_COMPILER #define GNU_GPP_COMPILER 1 #define USE_ATT_STYLE_IO_WITH_GNU 1 #undef USE_GNU_STYLE_IO_WITH_GNU /* ------------------------- References --------------------------------- Bjarne Stroustrup (1986), The C++ Programming Language. Reading Massachusetts: Addison-Wesley Publishing Company. Header files: p. 123, 173 p. 77, 237 p. 22, 115 p. 126 p. 124 p. 12, 226 p. 111 p. 35 Kernigham, Brian W., and Dennis M. Ritchie (1988). The C Programming Language, Second Edition. Englewood Cliffs, New Jersey: Prentice Hall. Appendix B. Standard Library B1 Input and Output: p. 241 B2 Character Class Tests: p. 248 B3 String Functions: p. 249 B4 Mathematical Functions: p. 250 B5 Utility Functions: p. 251 B6 Diagnostics p. 253 B7 Variable Argument Lists: p. 254 B8 Non-Local Jumps p. 254 B9 Signals: p. 255 B10 Date and Time Functions p. 255 B11 Implementation-defined Limits: and p. 257 ---------------------------------------------------------------------------*/ /*--------------------------- g++ ------------------------------------------- GNU's g++ follows Stroustrup. These are the g++ equivalents together with their dependencies. & The USE_ATT_STYLE_IO_WITH_GNU option uses the streambuf class which conforms to Chapter 8 of Stroustrup. The USE_GNU_STYLE_IO_WITH_GNU option uses the File class. This is unreliable, piping sometimes corrupts I/O for example, but this is all there is on older releases of g++. ----------------------------------------------------------------------------*/ #ifdef GNU_GPP_COMPILER #include #endif /*---------------------------- Turbo C++ ------------------------------------ Turbo C++ uses a tiresome mixture of ANSI C headers and Stroustrup headers. See page 155 of the Turbo C++ Programmers Guide for a description. ----------------------------------------------------------------------------*/ #ifdef TURBO_CPP_COMPILER #include #include #include #include #include #include #endif #define LINESIZE 80 // define linesize for output routines typedef long int INTEGER; // define precision of integer arithmetic typedef double REAL; // define precision of floating point arithmetic typedef void (*ONE_ARG_ERROR_HANDLER_T)(const char*); typedef void (*TWO_ARG_ERROR_HANDLER_T)(const char*, const char*); #endif /*__FILE_USUAL_H_SEEN__*/