From: | Matthew Allatt |
Date: | 30 May 2001 at 00:47:20 |
Subject: | Re: C Books |
Hello David
On 29-May-01, you wrote:
> As i'm getting back to doing some C i got some books from amazon, will i
> need anymore apart from these:
>
> C The Complete Reference (Fourth Edition) - Herbert Schildt
> The C Programming Language (Second Edition) - K & R
> Teach Yourself C (Third Edition) - Herbert Schildt
Nope, you've got the K&R - it's good for beginners and experienced
programmers alike. I haven't seen the other 2 books, so I don't know much
about them, but you can't really go wrong with K&R.
I've seen one or two of these "Teach yourself xxxx in 20 days" books that
you can get - they usually only teach you a very small subset of what you
will need to know. Try and avoid them.
>
> The last 2 seem to teach the basics, but i thought having the K & R one
> would also be useful aswell as the "Teach Yourself C" seeing as its by the
> authors of C.
Read all three - there may be a different explanation of a complex function
that you may be able to understand from reading one book, but get confused
about reading the other two. It took me a while to grasp the concept of
pointers when I started out programming in C. Once I figured it out, I was
a happy bunny.
>
> I have the 2.1 Developer CD now, not that i will need it for a while till
> i have grasped ANSI C. I got it from Germany, all i got was the CD in a
> transparent case, no inlay artwork! I was expecting a fancy cover inlay or
> somat...
Always useful - It has the NDKs for OS3.1 and OS3.5. I'd rather like to see
one for OS3.9 - I haven't been able to find anything on Haage & Partner's
web sites, sadly.
>
> BTW i'm using DICE as i still have the printed v3 manual from when i
> bought it quite some time ago b4 it went on Aminet, i have been doing some
> examples using "float" variables and for some odd reason DICE outputs
> "<float>" instead of the value!! Other data types output correctly, i am
> compiling by typing "dcc test.c" then running "test".
Easy - you need to link in the maths floating point lib stuff. try "dcc
test.c -lm"
Regards
Matthew.
Quote carefully and read all ADMIN:README mails
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/