1

Possible Duplicate:
Where do I find the current 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?

Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105
Sweetgirl17
  • 97
  • 1
  • 3

3 Answers3

1

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.

Corbin
  • 33,060
  • 6
  • 68
  • 78
  • Time to set up my paypal, then. – Sweetgirl17 Sep 11 '11 at 04:22
  • There's other places to get it by the way. That was just the place I first thought of to search for it. Might be able to find it somewhere cheaper (Ray Toal's link has some cheaper options). – Corbin Sep 11 '11 at 04:23
  • I find it amusing that a compiler developer needs to pay for the spec but will need to release it for free so it will be used. – Razor Sep 11 '11 at 10:17
1

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.

Gabe
  • 84,912
  • 12
  • 139
  • 238
0

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).

Community
  • 1
  • 1
Matthew Flaschen
  • 278,309
  • 50
  • 514
  • 539