[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "C" Manual



Eric G. Miller wrote:

On Fri, 28 Dec 2001 15:48:08 -0800 (PST), "Jeffrey W. Baker" <jwbaker@acm.org> wrote:



On Fri, 28 Dec 2001, dman wrote:


On Fri, Dec 28, 2001 at 09:31:36AM -0800, Paul Mackinney wrote:
| Gary Turner muttered:
| > On Thu, 20 Dec 2001 16:11:33 -0500, Phil Beder wrote:
| >
| > >Where can I find a good, complete manual for C and C++ programming
| > >languages for the gcc compiler.
|
...
| Kernighan and Ritchie is 'the' C book,
...

Be aware though that K&R is the old standard.  Their book describes
"K&R C" which is very similar, but a bit different than ANSI C.
Still, K&R is a highly recommended reference by many people.  (I don't
have it, but my friend's dad has an really old copy of it)

K&R 2nd edition, which is the only edition you can buy these days, deals
with ANSI C.  It is completely accurate and I recommend it to anyone
learning C.


Unless a 3rd edition comes out, it is no longer up to date.  But, AFAIK,
there is only one fully comformant C99 compiler and it isn't gcc (although,
gcc 3.0 is pretty close).  I don't know that I'd recommend K&R to someone
who doesn't have any programming experience, but it's still worth having
around for reference.


Similarly, Stanley Lippman's C++ Primer (3rd edition?) may not be the best for a beginner since it's in the style of K&R but it's a great C++ reference.

Paul Scott



Reply to: