c标准头文件

Posted 在左手

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了c标准头文件相关的知识,希望对你有一定的参考价值。

好多C语言库函数参考还是用的TC的库函数参考,因此特地把现在C语言(C99)标准库函数的24个头文件列表如下:
assert.h
 
types.h(C99)
 signal.h
 stdlib.h 
 complex.h(C99)
 iso646.h(C95)
 stdarg.h
 string.h  
 ctype.h
 limits.h
 stdbool.h
 tgmath.h(C99)
 errno.h
 locale.h
 stddef.h
 time.h
 fenv.h(C99)
 math.h
 stdint.h(C99)
 wchar.h(C95)
 float.h
 setjmp.h
 stdio.h
 wctype.h(C95)
 
 其中C99表示该头文件是在C99标准中新增的,C95表示对原有C89进行一次增补后的C89标准,又称C89增补1。
 C89中的标准头文件:
 1.    assert.h
 2.    ctype.h 
 3.    errno.h 
 4.    float.h 
 5.    limits.h 
 6.    locale.h  
 7.    math.h 
 8.    setjmp.h
 9.    signal.h 
 10.    stdarg.h 
 11.    stddef.h 
 12.    stdio.h 
 13.    stdlib.h 
 14.    string.h 
 15.    time.h 
 
 在95年的修正版中添加标准头文件:
 1.    iso646.h
 2.    wchar.h
 3.    wctype.h 
 C99中增加了六个标准头文件:
 1.    complex.h 
 2.    fenv.h 
 3.    inttypes.h 
 4.    stdbool.h  
 5.    stdint.h  
 6.    tgmath.h  

以上是关于c标准头文件的主要内容,如果未能解决你的问题,请参考以下文章

c语言头文件怎么写呀?

c语言和c++头文件在哪些地方有所不同

linux下编写c++,include的那些头文件在啥地方

C标准头文件模板

VS c++2005中头文件有的为啥必须加.h比如malloc

C语言包含头文件是啥?