给我一份C++标准的免费电子档吧

今天在网上突然看到“c++ standard”一词,便想去弄一份c++标准的电子档来看,发现了一些有趣的事情,记录下来

 

c++标准不是免费的,原因看这里

http://www.comeaucomputing.com/csc/faq.html#B1

Why isn't the C++ standard free?

As Bjarne Stroustrup wrote:

I guess that everything good ought to be free. However, it costs quite a bit to run a standards organization, to create a standard, and to produce and/or distribute copies. Therefore, the question becomes "who pays?"

The standards organizations cleverly finance the actual creation of standards by having them written by volunteers who are charged for the privilege of doing the work. That works reasonably well.

This leaves the problem of maintaining a standards organization, production of standards documents (for people who prefer paper), and distribution. It may seem a good idea for governments to finance this. However, people don't like to pay taxes, so governments have been increasingly unwilling to subsidize ISO, ANSI, BSI, AFNOR, etc. This leads the stadards organizations to look for sources of income to cover their costs.

Given that, I think the US$18 that ANSI charges for the pdf version of the C++ standard is reasonably cheap. If that's too much, get the free slightly-out-of date draft that the C++ standards committee issued for public comment (you can find links to both on my home pages).

One thing to bear in mind is that a standard is not a tutorial. Most people (including all novices) are better off with a good textbook. Experts who really need a standard are (by the standards organizations) assumed to be able to afford it.

这里可以下载一份标准“草案”,2011年2月的

http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2011/n3242.pdf

posted @ 2012-04-11 19:01  kcy-666  阅读(312)  评论(0编辑  收藏  举报