ANSI C 和 ISO C 之间有什么区别吗?
据我了解,C 语言既有 ANSI 标准,也有 ISO 标准。这两个标准之间有什么区别吗?如果有,它们是什么?如果没有区别,那么制定两个标准还有什么意义呢?
I understand that there is both an ANSI standard and an ISO standard for C. Are there any differences between these two standards? If so, what are they? And if there is not a difference then what's the point of having two standards?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来源,情况类似,但 C99。还有一个关于此事的 C FAQ 条目。
有两个标准的原因很简单:ANSI 是一个北美标准机构,而 ISO 是一个国际标准机构。
Source, the situation is similar but reversed for C99. There is also a C FAQ entry on the matter.
The reason that there are two standards is simple: ANSI is a north-american standards body while ISO is an international one.
除了新修订版将先于 ANSI 等国家标准机构获得 ISO 批准之外,两者是相同的。然而,常见的错误用法是“ANSI C”表示 ANSI 于 1989 年标准化的原始语言,而“ISO C”、“ISO C99”或简称“C99”表示当前标准1999 年被 ISO 通过。
Aside from the fact that new revisions will be ratified by the ISO before national standards bodies like ANSI, the two are the same. However, common incorrect usage is for "ANSI C" to mean the original language standardized by ANSI in 1989, and "ISO C", "ISO C99", or simply "C99" to mean the current standard adopted by the ISO in 1999.