ANSI C(标准C)究竟有多少个头文件?

这篇博客详细列举了C语言从C89到C11标准中包含的头文件数量及其分类。C89有15个头文件,而C99增加到了24个,最后C11标准进一步添加了5个头文件,总计达到29个。这些头文件涵盖了诊断、复杂数、字符处理、错误处理等多个方面,构成了C语言的标准库。
摘要由CSDN通过智能技术生成
83年 ANSI 年制定ANSI C 
87年 ANSI 年公布新标准87 ANSI C    15个头文件
90年 ISO 接受ANSI C为 ISO C        15个头文件
95年 ISO 增加3个头文件               18个头文件
99年 ISO 增加6个头文件               24个头文件
11年 ISO 增加5个头文件               29个头文件


C89 15个

   The standard headers are 

         <assert.h>                 <locale.h>                 <stddef.h>
         <ctype.h>                  <math.h>                   <stdio.h>
         <errno.h>                  <setjmp.h>                 <stdlib.h>
         <float.h>                  <signal.h>                 <string.h>
         <limits.h>                 <stdarg.h>                 <time.h>


C99的话,是24个

  B.1 Diagnostics <assert.h> . . . . . . . . . . . . . . . . . . 418  
  B.2 Complex <complex.h> . . . . . . . . . . . . . . . . . . . 418  
  B.3 Character handling <ctype.h> . . . . . . . . . . . . . . . . 420  
  B.4 Errors <errno.h> . . . . . . . . . . . . . . . . . . . . . 420  
  B.5 Floating-point environment <fenv.h> . . . . . . . . . . . . . 420  
  B.6 Characteristics of floating types <float.h> . . . . . . . . . . . 421  
  B.7 Format conversion of integer types <inttypes.h> . . . . . . . . 421  
  B.8 Alternative spellings <iso646.h> . . . . . . . . . . . . . . . 422  
  B.9 Sizes of integer types <limi

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值