Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Standards

Reply
Thread Tools

Standards

 
 
Dan Pop
Guest
Posts: n/a
 
      10-20-2003
In <bmr7jh$pugo5$> Jeremy Yallop <> writes:

>Nope. K&R1 was published in 1978. The ANSI standardisation process
>for C began in 1983. K&R2 was published in 1988 and the first ANSI C
>standard was published at the end of the following year.


However, the 2nd and later printings of K&R2 postdate the C89 standard and
were updated to actually describe it, rather than the draft the first
printing was based on. To know which flavour of the book you have, simply
look at its cover: it clearly states whether the book is covering the
draft or the actual standard.

Note that the update was not 100% accurate, there are a few minor
differences between the draft and C89 that haven't yet been fixed in
the book.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email:
 
Reply With Quote
 
 
 
 
Jeremy Yallop
Guest
Posts: n/a
 
      10-20-2003
Dan Pop wrote:
> In <bmp406$pl413$> Jeremy Yallop <> writes:
>
>>Ian Tuomi wrote:
>>> What is the "official" C definition nowadays? C99?

>>
>>Yes, C99, otherwise known as ISO/IEC 9899:1999. There have also been
>>a couple of (very minor) updates since C99 came out.

> ^^^^^^^^^^^
> I'm only aware of TC1. What am I missing?


Hmm. Reading that again I'm not sure what I was thinking of. Perhaps
TC2 to C90. Sorry about that.

Jeremy.
 
Reply With Quote
 
 
 
 
Jeremy Yallop
Guest
Posts: n/a
 
      10-20-2003
Dan Pop wrote:
> In <bmr7jh$pugo5$> Jeremy Yallop <> writes:
>
>>Nope. K&R1 was published in 1978. The ANSI standardisation process
>>for C began in 1983. K&R2 was published in 1988 and the first ANSI C
>>standard was published at the end of the following year.

>
> However, the 2nd and later printings of K&R2 postdate the C89 standard and
> were updated to actually describe it, rather than the draft the first
> printing was based on. To know which flavour of the book you have, simply
> look at its cover: it clearly states whether the book is covering the
> draft or the actual standard.


Thanks for the clarification.

> Note that the update was not 100% accurate, there are a few minor
> differences between the draft and C89 that haven't yet been fixed in
> the book.


Are these things that aren't in the errata either? If so, what are
they?

Jeremy.
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      10-20-2003
(Dan Pop) writes:
> In <bmr7jh$pugo5$> Jeremy Yallop
> <> writes:
>
> >Nope. K&R1 was published in 1978. The ANSI standardisation process
> >for C began in 1983. K&R2 was published in 1988 and the first ANSI C
> >standard was published at the end of the following year.

>
> However, the 2nd and later printings of K&R2 postdate the C89 standard and
> were updated to actually describe it, rather than the draft the first
> printing was based on. To know which flavour of the book you have, simply
> look at its cover: it clearly states whether the book is covering the
> draft or the actual standard.
>
> Note that the update was not 100% accurate, there are a few minor
> differences between the draft and C89 that haven't yet been fixed in
> the book.


There's also an errata list at
<http://cm.bell-labs.com/cm/cs/cbook/2ediffs.html>. I don't know
whether the published book plus the errata is 100% consistent with the
C89 (or C90) standard.

--
Keith Thompson (The_Other_Keith) <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"
 
Reply With Quote
 
Dan Pop
Guest
Posts: n/a
 
      10-21-2003
In <bn1kma$s5l1v$> Jeremy Yallop <> writes:

>Dan Pop wrote:
>
>> Note that the update was not 100% accurate, there are a few minor
>> differences between the draft and C89 that haven't yet been fixed in
>> the book.

>
>Are these things that aren't in the errata either? If so, what are
>they?


I suspect that, 14 years after the release of C89, all the bugs have been
reported to the authors and included in the errata. Unfortunately, they
have not been corrected in the more recent printings of the book.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email:
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FRS standards / Atchitecture Design of a System SMG ASP .Net 0 07-28-2004 05:19 AM
Evolving Web App Standards and ASP.NET =?Utf-8?B?bWtsYXBw?= ASP .Net 4 07-20-2004 07:52 AM
asp.net and Web Accessibility Standards Paul G ASP .Net 1 02-26-2004 10:26 PM
coding standards Jim Culver ASP .Net 4 09-18-2003 02:59 AM
coding standards shbgupta ASP .Net 2 06-27-2003 08:48 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57