config.h

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

H
46
字号
#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 USE_FORK#elif defined(_MSC_VER)/* compiler is Microsoft Visual C++ */#define MEM_INCL <alloc.h>#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 + -
显示快捷键?