C语言 在哪里可以找到 PDF 格式的 C89/C90 标准?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17014835/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 06:38:54  来源:igfitidea点击:

Where can I find the C89/C90 standards in PDF format?

cansic89

提问by The Mask

I'm looking for a free copy version of the C89/C90 standard, but I can't find it anywhere! Why is so hard to find it?

我正在寻找C89/C90 标准的免费副本版本,但在任何地方都找不到!为什么这么难找?

C99 and C11 standards are very easy to get a copy of on Internet. Even in Stack Overflow question Where do I find the current C or C++ standard documents?and in The C Standard, Obtaining the Standard don't contain what I'm looking for.

C99 和 C11 标准很容易在 Internet 上获得副本。即使在 Stack Overflow 问题中,我在哪里可以找到当前的 C 或 C++ 标准文档?C 标准中,获取标准不包含我正在寻找的内容。

Web searches didn't helped either, nor Open Standards.

网络搜索也没有帮助,开放标准也没有帮助。

回答by R.. GitHub STOP HELPING ICE

You can find nice HTML versions of C89, C99, and C11, as well as some of the official draft PDF files they're generated from, here:

您可以在此处找到 C89、C99 和 C11 的精美 HTML 版本,以及生成它们的一些官方 PDF 草案文件:

http://port70.net/~nsz/c/

http://port70.net/~nsz/c/

Some other useful direct links to free PDF files of the C89/C90, C99 and C11 standards are listed below:

下面列出了指向 C89/C90、C99 和 C11 标准的免费 PDF 文件的其他一些有用的直接链接:

C89/C90: https://www.pdf-archive.com/2014/10/02/ansi-iso-9899-1990-1/ansi-iso-9899-1990-1.pdf

C89/C90:https: //www.pdf-archive.com/2014/10/02/ansi-iso-9899-1990-1/ansi-iso-9899-1990-1.pdf

C99: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

C99:http: //www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

C11: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

C11:http: //www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

回答by fieldtensor

There's exactly one remaining place that I know of where you can still purchase an official NON-DRAFTversion of the original ANSI C89 standard. This one place is Standards Australia. Their web-store link for C89 is here:

我所知道的还有一个地方,您仍然可以购买原始 ANSI C89 标准的官方非草案版本。这个地方是澳大利亚标准局。他们的 C89 网上商店链接在这里:

http://www.techstreet.com/standards/as-3955-1991?product_id=1178768

http://www.techstreet.com/standards/as-3955-1991?product_id=1178768

Don't get confused by the fact that it's called 9899:1990, because that's just the ISO number that C89 got when the ISO absorbed it from ANSI in 1990. And also don't be dissuaded by the fact the Australian Standards document number is "AS 3955-1991," because 1991 is probably just the year that they themselves absorbed it from the ISO.

不要被它称为 9899:1990 的事实弄糊涂了,因为这只是 ISO 在 1990 年从 ANSI 吸收它时 C89 获得的 ISO 编号。而且也不要被澳大利亚标准文件编号是这样的事实所劝阻“AS 3955-1991”,因为 1991 年可能只是他们自己从 ISO 中吸收它的一年。

Note the Abstract given on that page:

请注意该页面上给出的摘要:

[Abstract]
Specifies the form and establishes the interpretation of programs written in
the C programming language. This Standard is identical with and has been
reproduced from ISO/IEC 9899:1990.

That document really is the original ANSI C89 standard, just in a re-re-printed form. If you have 160.29 USD to fork over, you can get a copy for digital download of the PDF or the printed edition for the same price.

该文档确实是原始的 ANSI C89 标准,只是重新打印的形式。如果您有 160.29 美元可以支付,您可以以相同的价格获得 PDF 或印刷版的数字下载副本。

Once you have the standard, then all amendments and technical corrigenda can be found here, for free:

获得标准后,可以在此处免费找到所有修订和技术勘误表:

http://www.open-std.org/jtc1/sc22/wg14/www/standards

http://www.open-std.org/jtc1/sc22/wg14/www/standards

回答by Andrew Cheong

Just a little background from GCC's online documentationto help clarify what exactly the key terms are:

只需从GCC 的在线文档中获取一些背景知识,即可帮助澄清关键术语的确切含义:

The original ANSI C standard (X3.159-1989) was ratified in 1989 and published in 1990. This standard was ratified as an ISO standard (ISO/IEC 9899:1990) later in 1990. There were no technical differences between these publications, although the sections of the ANSI standard were renumbered and became clauses in the ISO standard. This standard, in both its forms, is commonly known as C89, or occasionally as C90, from the dates of ratification.

最初的 ANSI C 标准 (X3.159-1989) 于 1989 年获得批准并于 1990 年发布。该标准于 1990 年晚些时候被批准为 ISO 标准 (ISO/IEC 9899:1990)。这些出版物之间没有技术差异,尽管 ANSI 标准的部分被重新编号并成为 ISO 标准中的条款。从批准之日起,这两种形式的标准通常称为 C89,有时也称为 C90。

Originally posted as a comment, here is a linkto what appears to be a draftof the former mentioned standard, the ANSI C standard. It is my understanding that the draftscan be viewed for free, as @pmg has noted as well.

最初作为评论发布,这里是一个链接指向前面提到的标准,即 ANSI C 标准的草案。据我所知,草稿可以免费查看,正如@pmg 所指出的那样。