Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: C help please - C newbie



Chris Hills <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, Alan Balmer
> <[EMAIL PROTECTED]> writes
> >My recommendation is to get a firm grounding in standard C and good
> >coding practices, then worry about specialized implementations for
> >particular embedded implementations.

> I agree. BUT K&R is NOT "standard C". It was 25 years and many standards
> ago but not now. 

Pardon the French, Chris, but that's nonsense and you know it.  It's
irresponsible to artificially limit your consideration of K&R to the
first edition (the other is not 25 years, but 15 years old), which has
not been printed or sold for 15 years now.

These days, K&R for all means and purposes _is_ K&R2, not the ancient,
completely out-of-print first edition.  And K&R2 is only one full
standard and a couple of relatively minor amendments behind, not "many
standards behind".  

Since I've yet to see any widely used C compiler, embedded or not,
claim actual C99 compliance, let alone that being the case for the
majority of them, and the amendments to C90 are not particularly
relevant to embedded computing, I honestly fail to see what your
quarrel with K&R2 might be.  It teaches C, the _language_, and it does
it well.

> The H&S book is a better bet.  

As a textbook to learn the language from?  You must be kidding.

-- 
Hans-Bernhard Broeker ([EMAIL PROTECTED])
Even if all the snow were burnt, ashes would remain.



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.