第1页共38页编号:时间:2021年x月x日书山有路勤为径,学海无涯苦作舟页码:第1页共38页TurboC2.0函数中文说明大全分类函数,所在函数库为ctype.hintisalpha(intch)若ch是字母('A'-'Z','a'-'z')返回非0值,否则返回0intisalnum(intch)若ch是字母('A'-'Z','a'-'z')或数字('0'-'9'),返回非0值,否则返回0intisascii(intch)若ch是字符(ASCII码中的0-127)返回非0值,否则返回0intiscntrl(intch)若ch是作废字符(0x7F)或普通控制字符(0x00-0x1F),返回非0值,否则返回0intisdigit(intch)若ch是数字('0'-'9')返回非0值,否则返回0intisgraph(intch)若ch是可打印字符(不含空格)(0x21-0x7E)返回非0值,否则返回0intislower(intch)若ch是小写字母('a'-'z')返回非0值,否则返回0intisprint(intch)若ch是可打印字符(含空格)(0x20-0x7E)返回非0值,否则返回0intispunct(intch)若ch是标点字符(0x00-0x1F)返回非0值,否则返回0intisspace(intch)若ch是空格(''),水平制表符('\t'),回车符('\r'),走纸换行('\f'),垂直制表符('\v'),换行符('\n'),返回非0值,否则返回0intisupper(intch)若ch是大写字母('A'-'Z')返回非0值,否则返回0intisxdigit(intch)若ch是16进制数('0'-'9','A'-'F','a'-'f')返回非0值,否则返回0inttolower(intch)若ch是大写字母('A'-'Z')返回相应的小写字母('a'-'z')inttoupper(intch)若ch是小写字母('a'-'z')返回相应的大写字母('A'-'Z')第2页共38页第1页共38页编号:时间:2021年x月x日书山有路勤为径,学海无涯苦作舟页码:第2页共38页数学函数,所在函数库为math.h、stdlib.h、string.h、float.hintabs(inti)返回整型参数i的绝对值doublecabs(structcomplexznum)返回复数znum的绝对值doublefabs(doublex)返回双精度参数x的绝对值longlabs(longn)返回长整型参数n的绝对值doubleexp(doublex)返回指数函数ex的值doublefrexp(doublevalue,int*eptr)返回value=x*2n中x的值,n存贮在eptr中doubleldexp(doublevalue,intexp);返回value*2exp的值doublelog(doublex)返回logex的值doublelog10(doublex)返回log10x的值doublepow(doublex,doubley)返回xy的值doublepow10(intp)返回10p的值doublesqrt(doublex)返回x的开方doubleacos(doublex)返回x的反余弦cos-1(x)值,x为弧度doubleasin(doublex)返回x的反正弦sin-1(x)值,x为弧度doubleatan(doublex)返回x的反正切tan-1(x)值,x为弧度doubleatan2(doubley,doublex)返回y/x的反正切tan-1(x)值,y的x为弧度doublecos(doublex)返回x的余弦cos(x)值,x为弧度doublesin(doublex)返回x的正弦sin(x)值,x为弧度doubletan(doublex)返回x的正切tan(x)值,x为弧度doublecosh(doublex)返回x的双曲余弦cosh(x)值,x为弧度doublesinh(doublex)返回x的双曲正弦sinh(x)值,x为弧度doubletanh(doublex)返回x的双曲正切tanh(x)值,x为弧度doublehypot(doublex,doubley)返回直角三角形斜边的长度(z),x和y为直角边的长度,z2=x2+y2doubleceil(doublex)返回不小于x的最小整数第3页共38页第2页共38页编号:时间:2021年x月x日书山有路勤为径,学海无涯苦作舟页码:第3页共38页doublefloor(doublex)返回不大于x的最大整数voidsrand(unsignedseed)初始化随机数发生器intrand()产生一个随机数并返回这个数doublepoly(doublex,intn,doublec[])从参数产生一个多项式doublemodf(doublevalue,double*iptr)将双精度数value分解成尾数和阶doublefmod(doublex,doubley)返回x/y的余数doublefrexp(doublevalue,int*eptr)将双精度数value分成尾数和阶doubleatof(char*nptr)将字符串nptr转换成浮点数并返回这个浮点数doubleatoi(char*nptr)将字符串nptr转换成整数并返回这个整数doubleatol(char*nptr)将字符串nptr转换成长整数并返回这个整数char*ecvt(doublevalue,intndigit,int*decpt,int*sign)将浮点数value转换成字符串并返回该字符串char*fcvt(doublevalue,intndigit,int*decpt,int*sign)将浮点数value转换成字符串并返回该字符串char*gcvt(doublevalue,intndigit,char*buf)将数value转换成字符串并存于buf中,并返回buf的指针char*ultoa(unsignedlongvalue,char*string,intradix)将无符号整型数value...