函数分为库函数和用户定义函数。
常用库函数有:
数字函数:如sqrt、fabs、pow、cos等,头文件为math.h
字符函数:如islower、isspace、isupper等,头文件为ctype.h
字符串函数:如strcat、strxpy、strcmp等,头文件为string.h
输入输出函数:如gerchar、putchar、printf、scanf等,头文件为stdio.h
文件操作函数:如fprintf、fscanf、fopen、fseek等,头文件为stdio.h
函数分为库函数和用户定义函数。
常用库函数有:
数字函数:如sqrt、fabs、pow、cos等,头文件为math.h
字符函数:如islower、isspace、isupper等,头文件为ctype.h
字符串函数:如strcat、strxpy、strcmp等,头文件为string.h
输入输出函数:如gerchar、putchar、printf、scanf等,头文件为stdio.h
文件操作函数:如fprintf、fscanf、fopen、fseek等,头文件为stdio.h