cstdlib

来自「彭国伦书上的所有原代码」· 代码 · 共 24 行

TXT
24
字号
// The -*- C++ -*- standard library header.// This file is part of the GNU ANSI C++ Library.#ifndef __CSTDLIB__#define __CSTDLIB__#include <stdlib.h>#ifdef __GNUG__#pragma interface "cstdlib"#endifextern "C++" {#if _G_HAS_LABSinline long   abs(long x)		{ return labs (x); }#elseinline long   abs(long x)		{ return x >= 0 ? x : -x; }#endif//inline ldiv_t div(long x, long y)	{ return ldiv (x, y); }} // extern "C++"#endif

⌨️ 快捷键说明

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