Re: Learning C from old books ??

From: Alwyn (dt015a1979_at_mac.com.invalid)
Date: 11/15/04


Date: Mon, 15 Nov 2004 07:35:33 +0000

In article <k2Pld.821$586.677@newsfe1-gui.ntli.net>, Jhon smith
<jhonsmith122@hotmail.com> wrote:

> Hi,all,I was just wondering if I am likly to have any problems trying to
> learn C from older books,I have some from the late 80`s,mid/late 90`s.
> I am using Dev-C++ on the pc windows platform,But I have noticed small
> differnces in the books such as,int main(),main(void),fprintf,and
> others,just wondering if these older books are still worth trying to learn
> from as Im on a very tight budget and can`t really afford any thing else,or
> are they just going to be to outdated.

As Hand has already pointed out, older books will do for C, though they
will not cover the latest standard. The most serviceable, in my
opinion, is *The C Programming Language*, 2nd ed., by Kernighan and
Ritchie.

For C++, though, you must have the latest books, as the older ones
teach a form and style of the language that is very different from the
current standard.

> I would ultimately like to learn C then ,maybe C++,then windows,or with my
> brain it might be easier Win the lotto!.

For what it's worth, I wouldn't recommend C as a first language if you
don't already know how to program, as you're required to learn a lot of
machine-oriented details early on, like correct memory allocation and
deallocation and how to use pointers to memory. You get a lot quicker
return on your investment if you first learn a higher-level language,
like Python; then, if you need the performance or other benefits that C
gives, you can turn to it having already learnt how to program, or if
you like, go straight to C++.

HTH

Alwyn



Relevant Pages

  • Re: Translations from UK to US
    ... : No - I have no gone to the extent of saying directly what the British: idiotshave regularly: posted as insults to the intelligence of the American children reading: the books. ... I have made it clear that there was NO effort by the editors: and author to simplify the books. ... Titles have been changed regularly -: the first books in France uses the title Levine suggested for the: American Version - and I have not heard your outrage about that. ... So it does not reflect on the language itself. ...
    (alt.fan.harry-potter)
  • Re: SCWC 32: Discussion: IMPLEMENT
    ... Latin to English, such as "don't split infinitives" or "don't use ... language can be changed deliberately. ... I've got two books by Roy Harris that I ... must get around to reading. ...
    (rec.puzzles.crosswords)
  • Re: successful language learners -- the little details
    ... > best attack plan for the language is... ... Before I waste my time randomly picking words out of books ... > Supermemo per day until I have learned'em all. ... I carry a pad in my back pocket at all times. ...
    (sci.lang.japan)
  • Re: Indo-European Languages and Gramatical Gender Loss
    ... It is not strictly native - it is a language that exists in my family, ... Kristoffer Uppdal wrote the series of novels ... Norwegian equivalent of "la Recherche du temps perdu", ... One of the first books about sociolinguistics ...
    (sci.lang)
  • Re: Translations from UK to US
    ... the original British editing did not take into account the ... and in a few countries that don't have English as a first language ... Whatever is said - it worked - the books became ... Noting that English did not originate in England - it is of Flemish origins - it is not owned by the Brits - and we do not have to bow down to the Brits as to the correct usage. ...
    (alt.fan.harry-potter)