How do I obtain a copy of the ANSI C standard? [duplicate]
Possible Duplicate:
Where do I find the c开发者_StackOverflow中文版urrent C or C++ standard documents?
I keep hearing about this 'ANSI C' standard, like it was some legal document my compiler somewhat conforms to, but I've never actually seen the document myself.
Anywhere know where I can pick up a copy, or is it only intended for the eyes of compiler-developers?
http://webstore.ansi.org/RecordDetail.aspx?sku=ISO%2FIEC+9899%3A1999
As far as I know, there's no (legal) way to obtain a free copy of it.
The closest you will get to the actual standard that you can download freely is a draft from the working group: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
Considering that you just want to look over it and not write a compiler, it should suffice for you.
I've read large portions of the latest drafts, mostly while answering questions here. I have not read the official standard.
There is a question specifically about getting copies of the standard, official and draft (non-official).
精彩评论