最近做笔试题,碰到好几次要我列举出C标准的15(一下子都列出来其实鸭梨山大)个头文件,在这里给大家列举一下,相互学习
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>
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>