C语言函数大全[表格形式].doc
目 录
1.字符函数,所在函数库为ctype.h……………………………………………………………………2
2.数学函数,所在函数库为math.h、stdlib.h、string.h、float.h………………………………………2
3.目录函数,所在函数库为dir.h、dos.h………………………………………………………………3
4.进程函数,所在函数库为stdlib.h、process.h…………………………………………………………4
5.输入输出子程序,所在函数库为io.h、conio.h、stat.h、dos.h、stdio.h、signal.h…………………6
6.接口子程序,所在函数库为dos.h、bios.h…………………………………………………………11
7.操作函数,所在函数库为string.h、mem.h………………………………………………………17
8.存贮分配子程序,所在函数库为dos.h、alloc.h、malloc.h、stdlib.h、process.h…………………19
9.?时间日期函数,所在函数库为time.h、dos.h………………………………………………………19
字符函数,所在函数库为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)
如果觉得《c语言函数大全表格形式 C语言函数大全[表格形式].doc》对你有帮助,请点赞、收藏,并留下你的观点哦!