txc_streams.h

来自「xgrafix 是PTSG模拟程序中的图形截面库 改版本是最新版本」· C头文件 代码 · 共 47 行

H
47
字号
//-----------------------------------------------------------------------------//// File:	txc_streams.h//// Purpose:	Fix system dependencies for streams.//// Version: $Id: txc_streams.h,v 1.1 2003/09/23 20:25:12 cary Exp $//// Copyright (c) 1998, 1999 by Tech-X Corporation.  All rights reserved.////-----------------------------------------------------------------------------// Include this file after your own config.h to get the definition// of TXSTRSTD correct.  Your configuration process should determine// whether streams are in namespace std for your compiler and set// HAVE_STD_STREAMS if so, and it should determine whether you have// the file sstream, and set HAVE_SSTREAM if true.#ifndef TXC_STREAMS_H#define TXC_STREAMS_H#if defined(HAVE_STD_STREAMS) #define TXSTRSTD std#include <iostream>#include <fstream>#include <iomanip>#ifdef HAVE_SSTREAM#include <iosfwd>#include <sstream>#else#include <strstream>#endif#else#include <iomanip.h>#include <strstream.h>#include <iostream.h>#include <fstream.h>#define TXSTRSTD#endif#endif  // TXC_STREAMS_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?