在C语言中,要用到的函数都有哪些?

来源:百度知道 编辑:UC知道 时间:2024/07/01 06:16:24

去这里看吧比较好
http://www.72up.com/c/function.htm
C语言函数大全,已包含绝大部分的函数。每个函数包含函数名,功能,用法,举例,内容详尽。

有很多,到你需要用的时候自然会明白。

标准library如下

cassert (assert.h)
cctype (ctype.h)
cerrno (errno.h)
cfloat (float.h)
climits (limits.h)
clocale (locale.h)
cmath (math.h)
csetjmp (setjmp.h)
csignal (signal.h)
cstdarg (stdarg.h)
cstddef (stddef.h)
cstdio (stdio.h)
cstdlib (stdlib.h)
cstring (string.h)
ctime (time.h)

每个里面都定义不少函数。比如stdlib.h有

String conversion:
atof Convert string to double (function)
atoi Convert string to integer (function)
atol Convert string to long integer (function)
strtod Convert string to double (function)
strtol Convert string to long integer (function)
strtoul Convert string to unsigned long integer (function)

Pseudo-random sequence generat