📄 div.c
字号:
/* * lib-src/ansi/stdlib/div.c * ANSI/ISO 9899-1990, Section 7.10.6.2. * * div_t div(int numer, int denom) * Compute the quotient and remainder of numer / denom. * * This version is no more efficient than doing / and % separately. */#include <stdlib.h>div_tdiv(int numer, int denom){ div_t r; r.quot = numer / denom; r.rem = numer % denom; return r;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -