Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Reliable C tutorial for beginners Date: Wed, 05 Apr 2017 13:50:45 -0700 Organization: None to speak of Lines: 25 Message-ID: References: <58e4d000.1013093@news.xs4all.nl> <4ee47854-2a71-462b-9312-e9abb6d1dbc3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="84b9d2e2596144cadf213abc805aa2ec"; logging-data="1966"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pehHqLeqfEl9mE/DGICFG" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:bZhken4LpAgksw5ZPBiRS8qhIzA= sha1:2h/FgM8CqtGNUl8fcTOpmqBxhQs= Xref: csiph.com comp.lang.c:107769 jm.bourguet@gmail.com writes: > Le mercredi 5 avril 2017 13:10:17 UTC+2, Richard Bos a écrit : >> For someone who is already a programmer, but is a beginner at C, IYAM >> the best tutorial is still the original: Kernignan and Ritchie's The C >> Programming Language. But that's not legally available on-line. > > That's what I used to say until a few years ago I reread it and > noticed that although the second edition was not describing C as it is > practiced nowadays but K&R C with minimal syntax update to make it > syntactically acceptable to a C++ compiler used to compensate the lack > of C compilers accepting the language described by the then-future > standard. It's a book of the 70's updated in the 80's and it feels. > Read it again and ask yourself: do you really recommend it to someone > who does not know C? K&R2 was published about the same time the 1989 ANSI C standard was published. Of course it doesn't cover C99 or C11, but I think it generally does a good job of covering ANSI C89. Can you give an example where it doesn't? -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"