Home
C&C++函数库
c++ 语法
程序源码
Linux C库
函数搜索
C&C++标准库
C库函数
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
<cfenv>
(fenv.h)
<cfloat> (float.h)
<cinttypes>
(inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
<ctgmath> (tgmath.h)
<ctime> (time.h)
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
容器
输入输出
多线程
C++库函数
div_t
type <cstdlib>
div返回的结构体
结构体,以表示函数
div
执行的整除的结果值。
它有两个int成员:quot和rem,定义的顺序任意。一个可能的定义是:
typedef struct { int quot; int rem; } div_t;
☲ 参数
quot
表示
div
所执行的整数除法运算的商,它是最接近代数商的较小的整数。
rem
表示div执行的整数除法运算的余数,它是该运算分子减去“quot”得到的整数。
🍄 另请参阅
ldiv_t
ldiv 返回的结构(type)
div
整型除法(function )
联系我们
免责声明
关于CandCplus
网站地图