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

📄 vcl_cstdlib.h

📁 DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.
💻 H
字号:
#ifndef vcl_win32_vc60_cstdlib_h_
#define vcl_win32_vc60_cstdlib_h_

#include <cstdlib>

// VC6 does not declare the cstdlib functions in the std namespace.

#ifndef vcl_abs
# define vcl_abs vcl_abs
#endif
#ifndef vcl_labs
# define vcl_labs vcl_labs
#endif
#ifndef vcl_div
# define vcl_div vcl_div
#endif
#ifndef vcl_ldiv
# define vcl_ldiv vcl_ldiv
#endif

#define vcl_generic_cstdlib_STD
#include "../generic/vcl_cstdlib.h"

inline int vcl_abs(int x) { return x >= 0 ? x : -x; }
inline long vcl_abs(long x) { return x >= 0 ? x : -x; }
inline long vcl_labs(long x) { return x >= 0 ? x : -x; }
inline div_t vcl_div(int x, int y) { return ::div(x,y); }
inline ldiv_t vcl_div(long x, long y) { return ::ldiv(x,y); }  
inline ldiv_t vcl_ldiv(long x, long y) { return ::ldiv(x,y); }

#endif // vcl_win32_vc60_cstdlib_h_

⌨️ 快捷键说明

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