Re: Learning C from old books ??
From: Alwyn (dt015a1979_at_mac.com.invalid)
Date: 11/15/04
- Next message: Costache: "colored output"
- Previous message: Ulrich Eckhardt: "Re: Visual C++ 6.0 or 7.x for teaching in a games context?"
- In reply to: Jhon smith: "Learning C from old books ??"
- Next in thread: Francis Glassborow: "Re: Learning C from old books ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Costache: "colored output"
- Previous message: Ulrich Eckhardt: "Re: Visual C++ 6.0 or 7.x for teaching in a games context?"
- In reply to: Jhon smith: "Learning C from old books ??"
- Next in thread: Francis Glassborow: "Re: Learning C from old books ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|