c语言那些库函数是无参函数,C语言库函数参手册.doc

C语言库函数参手册

C语言库函数手册 分类函数,所在函数库为ctype.hint isalpha int ch ? 若ch是字母 'A'-'Z','a'-'z' 返回非0值,否则返回0int isalnum int ch 若ch是字母 'A'-'Z','a'-'z' 或数字 '0'-'9' 返回非0值,否则返回0int isascii int ch ? 若ch是字符 ASCII码中的0-127 返回非0值,否则返回0int iscntrl int ch ? 若ch是作废字符 0x7F 或普通控制字符 0x00-0x1F 返回非0值,否则返回0int isdigit int ch ? 若ch是数字 '0'-'9' 返回非0值,否则返回0int isgraph int ch ? 若ch是可打印字符 不含空格 0x21-0x7E 返回非0值,否则返回0int islower int ch ? 若ch是小写字母 'a'-'z' 返回非0值,否则返回0int isprint int ch ? 若ch是可打印字符 含空格 0x20-0x7E 返回非0值,否则返回0int ispunct int ch ? 若ch是标点字符 0x00-0x1F 返回非0值,否则返回0int isspace int ch ? 若ch是空格 ' ' ,水平制表符 '\t' ,回车符 '\r' , 走纸换行 '\f' ,垂直制表符 '\v' ,换行符 '\n' 返回非0值,否则返回0int isupper int ch ? 若ch是大写字母 'A'-'Z' 返回非0值,否则返回0int isxdigit int ch 若ch是16进制数 '0'-'9','A'-'F','a'-'f' 返回非0值, 否则返回0int tolower int ch ? 若ch是大写字母 'A'-'Z' 返回相应的小写字母 'a'-'z' int toupper int ch ? 若ch是小写字母 'a'-'z' 返回相应的大写字母 'A'-'Z' 数学函数,所在函数库为math.h、stdlib.h、string.h、float.hint abs int i 返回整型参数i的绝对值double? cabs struct complex znum 返回复数znum的绝对值double? fabs double x 返回双精度参数x的绝对值long??? labs long n 返回长整型参数n的绝对值double?? exp double x 返回指数函数ex的值double frexp double value,int *eptr ?? 返回value x*2n中x的值,n存贮在eptr中double ldexp double value,int exp ;??? 返回value*2exp的值double?? log double x 返回logex的值double log10 double x 返回log10x的值double?? pow double x,double y 返回xy的值double pow10 int p 返回10p的值double? sqrt double x 返回+√x的值double? acos double x 返回x的反余弦cos-1 x 值,x为弧度double? asin double x 返回x的反正弦sin-1 x 值,x为弧度double? atan double x 返回x的反正切tan-1 x 值,x为弧度double atan2 double y,double x 返回y/x的反正切tan-1 x 值,y的x为弧度double?? cos double x 返回x的余弦cos x 值,x为弧度double?? sin double x 返回x的正弦sin x 值,x为弧度double?? tan double x 返回x的正切tan x 值,x为弧度double? cosh double x 返回x的双曲余弦cosh x 值,x为弧度double? sinh double x 返回x的双曲正弦sinh x 值,x为弧度double? tanh double x 返回x的双曲正切tanh x 值,x为弧度double hypot double x,double y 返回直角三角形斜边的长度 z , x和y为直角边的长度,z2 x2+y2double? ceil double x 返回不小于x的最小整数double floor double x 返回不大于x的最大整数void?? srand unsigned seed 初始化随机数发生器int rand 产生一个随机数

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值