⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 win32.h

📁 A Library of Efficient Data Types and Algorithms,封装了常用的ADT及其相关算法的软件包
💻 H
字号:
/*******************************************************************************++  LEDA 4.5  +++  win32.h+++  Copyright (c) 1995-2004+  by Algorithmic Solutions Software GmbH+  All rights reserved.+ *******************************************************************************/// $Revision: 1.6 $  $Date: 2004/02/06 11:20:03 $#ifndef LEDA_SYS_WIN32_H#define LEDA_SYS_WIN32_H#if !defined(__win32__)#define __win32__#endif#define LITTLE_ENDIAN_MACHINE#define ASM_INTEL_386#define NOMINMAX/*#define __temp_friend_decl <>*/#define __temp_friend_decl#define __temp_func_inline#if defined(__BORLANDC__)#if (__BORLANDC__ < 0x540)#error Error: This version of LEDA cannot be compiled with Borland C++ < 5.4 !#endif#if (__BORLANDC__ >= 0x560)#define _USE_OLD_RW_STL#endif// turn off some warnings#pragma option -w-inl -w-ccc -w-aus -w-eff -w-par -w-rch -w-pia#include <float.h>static int leda_init_fpu(){ _control87(PC_53,MCW_PC);  _control87(63U,MCW_EM);  return 0;}static int setdouble_ieee_for_bcc = leda_init_fpu();#endif#if defined(_MSC_VER)#if (_MSC_VER < 1200)#error Error: This version of LEDA cannot be compiled with Microsoft C++ < 6.0 !#endif// turn off some warnings// exception handling turned off when using std headers#pragma warning(disable:4530)// no matching delete operator (in presence of -GX)#pragma warning(disable:4291)// this used in base class initialization#pragma warning(disable:4355)// missing dll-interface#pragma warning(disable:4251)#pragma warning(disable:4275)// resolved overload found by argument dependent lookup#pragma warning(disable:4675)#include <float.h>inline int leda_init_fpu() { _control87(_PC_53,_MCW_PC);  _control87(_RC_NEAR,_MCW_RC);  return 0; }static int setdouble_ieee_for_msc = leda_init_fpu();#endif#if defined(__MWERKS__)#if (__MWERKS__ < 0x2400)#error Error: This version of LEDA cannot be compiled with Metrowerks C++ < 2.4 !#endif#endif//------------------------------------------------------------------------------//  DLL definitions//------------------------------------------------------------------------------#if defined(LEDA_DLL)#if defined(LEDA_INSTALL) && !defined(LEDA_IMPORT)#define __exportC __declspec(dllexport)#define __exportF __declspec(dllexport)#define __exportD __declspec(dllexport)#else#define __exportC __declspec(dllimport)#define __exportF __declspec(dllimport)#define __exportD __declspec(dllimport)#endif#else#define __exportC#define __exportF#define __exportD#endif#define _exportC#define _exportF#define _exportD#endif

⌨️ 快捷键说明

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