#ifndef __cmt_std_h__
#define __cmt_std_h__

#define OLD_HEADERS 1

#ifdef OLD_HEADERS

#ifdef WIN32
#include <ios.h>
#endif
#include <iostream.h>
#include <fstream.h>

#define int_type int

#else

#include <ios>
#include <iostream>
#include <fstream>

#define cout std::cout
#define cerr std::cerr
#define endl std::endl
#define ofstream std::ofstream
#define ifstream std::ifstream
#define istream std::istream
#define ostream std::ostream
#define ios std::ios
#define ios_base std::ios_base
#define streambuf std::streambuf

#endif

#ifdef sun
#ifndef _BOOL
#undef NEED_BOOL
#define NEED_BOOL
#endif
#endif

#ifdef NEED_BOOL
typedef enum { false, true } bool;
#endif

#endif
