vcl_cstdio.h

来自「InsightToolkit-1.4.0(有大量的优化算法程序)」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef vcl_cstdio_h_
#define vcl_cstdio_h_
/*
  fsm
*/

#include "vcl_compiler.h"

#if !VCL_CXX_HAS_HEADER_CSTDIO
# include <stdio.h>
# define vcl_generic_cstdio_STD /* */
# include "generic/vcl_cstdio.h"
#elif defined(VCL_SUNPRO_CC_50)
# include <iosfwd> // <cstdio> breaks <iosfwd>
# include "iso/vcl_cstdio.h"
#elif VCL_VC60
# include <cstdio>
# define vcl_generic_cstdio_STD /**/
# include "generic/vcl_cstdio.h"
#elif defined(VCL_METRO_WERKS)
# include <cstdio>
# define vcl_generic_cstdio_STD /* */
# include "generic/vcl_cstdio.h"
#else
# include "vcl_cstddef.h" // for size_t
# include "iso/vcl_cstdio.h"
#endif

// Some compilers (gcc 2.95.3) seem to define these as macros. Sigh.
# ifdef getchar
#   undef vcl_getchar
    inline int vcl_getchar() { return getchar(); }
#   define vcl_getchar vcl_getchar
# endif
# ifdef getc
#   undef vcl_getc
    inline int vcl_getc(FILE *stream) { return getc(stream); }
#   define vcl_getc vcl_getc
# endif

#endif // vcl_cstdio_h_

⌨️ 快捷键说明

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