config.h~

来自「ALGAE是一个快速创建算法演示的框架。目前支持的算法实现语言包括java和c」· H~ 代码 · 共 58 行

H~
58 行
字号
#ifndef CONFIG_STD#define CONFIG_STD////  AlgAE Configuration file//    //  Currently recognizes  g++, version 2.7.2 for Unix and 2.8.0 for GnuWin32//  MS Visual C++, version 5.0//// Define this if the compiler does not support reassignment of iostream// buffers via the function  rdbuf(streambuf&)#undef __bad_rdbuf__#ifdef __GNUG__  /* Compiler is gcc/g++ */#define MEM_INCL <mem.h>#define USING_STD#define STD#define USE_FORK#ifdef __CYGWIN32__  /* This is the GnuWin32 port for Windows 95/NT#define USE_WINSOCK#else  /* This is some other port of g++, probably a Unix system. */#endif#elif defined(_MSC_VER)/* compiler is Microsoft Visual C++ */#define MEM_INCL <alloc.h>#define USING_STD using namespace std;#define STD std::#define MEMDC#define __bad_rdbuf__#define USE_WINSOCK#else#pragma warning "Possible configuration error: Compiler is not recognized."#define MEM_INCL <mem.h>#endif#endif

⌨️ 快捷键说明

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