Re: Which book is better for a begainer to study C language?



Dingjiu wrote:
Please give me some suggestion

There's a recent thread called "Books" you may find helpful. Here's
my post from that thread:

---------------------------------------------------------------------------
Some of these aren't exactly lightweight, inspiring, or even books, but I
highly recommend the following (tossing in K&R2 for completeness):

*_The C Programming Language_, 2nd edition, by Kernighan and Ritchie
_C: A Reference Manual_, 5th edition, by Harbison and Steele
*_C Programming: A Modern Approach_, 2nd edition, by K. N. King
*_C: How to Program_, latest edition, by Deitel & Deitel
_The Standard C Library_, by P.J. Plauger
_C Traps and Pitfalls_, by Andrew Koenig
_Expert C Programming_, by Peter Van Der Linden
the latest draft of the C99 standard (freely available)
the C99 rationale (freely available)

_Algorithms in C_, 1990 edition, by Sedgewick, is excellent, even though
the C isn't perfect.

Avoid the book "Practical C Programming" from O'Reilly. It's not too bad,
but it does have quite a number of issues.

Avoid any book by Herbert Schildt. Schildt doesn't provide an errata, and
I believe his publisher is on record saying that gross errors are minor
and unimportant.

Avoid the book "C Unleashed". The lead author goes one step further than
Schildt and provides an errata, but the errata is very incomplete and
misleading. The lead author is on record calling people who point out his
bugs idiots and saying he'll check bug reports from only people he
considers worth listening to. (I guess it all depends on how much you
value technical correctness over personality games.)

Don't bother trying to learn C from any book not mentioned above. I've put
an asterisk (*) next to the books from which you can learn C well.
---------------------------------------------------------------------------

Yours,
Han from China

--
"Only entropy comes easy." -- Anton Chekhov

.



Relevant Pages

  • Re: Books
    ... *_The C Programming Language_, 2nd edition, by Kernighan and Ritchie ... Avoid the book "Practical C Programming" from O'Reilly. ... Avoid any book by Herbert Schildt. ... Schildt and provides an errata, but the errata is very incomplete and ...
    (comp.lang.c)
  • Re: The annotated, annotated, annotated C standard continued
    ... But we see Schildt making the same errors time and time again. ... His books on C++ do C'isms. ... Bjarne Stroustrup's The C++ Programming Language, ... I dont see anything like the same depth in any of Schildt's 4 erratas. ...
    (comp.programming)
  • Re: A note on computing thugs and coding bums
    ... Herbert Schildt has not been on trail, ... technical writing from his books is substantial, ... Likewise if Herb presents, as his enemies insist, information that is ... Errata for Scott Meyers, "Effective STL":http://www.aristeia.com/BookErrata/estl1e-errata_frames.html ...
    (comp.programming)
  • Re: C: The Complete Meta-Nonsense
    ... such as telling Schildt not to say that C negatives ... In other words, you don't care about truth, you care only about status. ... But note that even CREATING those bug reports is often programming beyond ... was frightened by a stack when he was in her womb and who hates ...
    (comp.lang.c)
  • Re: The annotated, annotated, annotated C standard continued
    ... on Schildt. ... And I posted stuff here on Schildt's flaws in "STL Programming from the ... standard then and what the C standard _REALLY_ says. ... The language of "Schildt's errors" as well as Clive Feather's strategy ...
    (comp.programming)