00001 #ifndef __cmt_std_h__ 00002 #define __cmt_std_h__ 00003 00004 #define OLD_HEADERS 1 00005 00006 #ifdef OLD_HEADERS 00007 00008 #ifdef WIN32 00009 #include <ios.h> 00010 #include <iomanip.h> 00011 #endif 00012 #include <iostream.h> 00013 #include <fstream.h> 00014 00015 #define int_type int 00016 00017 #else 00018 00019 #include <ios> 00020 #include <iomanip> 00021 #include <iostream> 00022 #include <fstream> 00023 00024 #define cout std::cout 00025 #define cerr std::cerr 00026 #define endl std::endl 00027 #define ofstream std::ofstream 00028 #define ifstream std::ifstream 00029 #define istream std::istream 00030 #define ostream std::ostream 00031 #define ios std::ios 00032 #define ios_base std::ios_base 00033 #define streambuf std::streambuf 00034 #define setw std::setw 00035 00036 #endif 00037 00038 #ifdef sun 00039 #ifndef _BOOL 00040 #undef NEED_BOOL 00041 #define NEED_BOOL 00042 #endif 00043 #endif 00044 00045 #ifdef NEED_BOOL 00046 typedef enum { false, true } bool; 00047 #endif 00048 00049 #endif