Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
|
Poster | Thread | mlehto
| |
ANSI C, std libs , books Posted on 2-Jan-2005 23:44:46
| | [ #1 ] |
| |
|
Super Member |
Joined: 4-Dec-2004 Posts: 1006
From: Unknown | | |
|
| Hello all :)
What books are good for beginners for C ?? I think, that it is best to start ANSI C, and standard library books ?? I order Amiga DEV CD v2.1 bit later.
Any suggestions where to start ?
Miikka
|
| Status: Offline |
| | sibbi
| |
Re: ANSI C, std libs , books Posted on 3-Jan-2005 0:04:05
| | [ #2 ] |
| |
|
Team Member |
Joined: 18-Mar-2003 Posts: 665
From: Iceland | | |
|
| @mlehto
I'm going to go out on a limb here and suggest the bible:
The C Programming Language, Second Edition Brian W. Kernighan & Dennis M. Ritchie Prentice Hall 1988 Hardcover ISBN 0131103709 Softcover ISBN 0131103628
_________________ --- Sibbi
Disclaimer: The opinions stated do not neccesarily represent those of my employer. |
| Status: Offline |
| | wegster
| |
Re: ANSI C, std libs , books Posted on 3-Jan-2005 0:13:35
| | [ #3 ] |
| |
|
Elite Member |
Joined: 29-Nov-2004 Posts: 8554
From: RTP, NC USA | | |
|
| @mlehto I used to teach comp programming and went through several textbooks for C. I've got to say, the original version of one of the recommendations I'm going to give....I used to _hate_, but it depends on what your starting point is.
Must have: K&R 'The C Programming Language, 2nd Edition" by the original authors of the language, Brian Kernigan and Dennis Ritchie: The C Programming Language
Deitel and Deitel- "How to Program in C, 4th Edition":
How To Program in C
The first one may be too dry, and isn't meant as a learning book, but as a definitive reference. It's a must have once you're writing some real code.
The Deitel and Deitel book (and their others for diff languages) have become one of the standards for comp programming texts in colleges today, although usually not followed verbatim AFAIK. They're expensive, but thick and fairly complete, usually with useful additions outside of 'just the language' (for example their Java book also covers Ant, eclipse, UML etc, not strictly Java but useful)
The biggest gripe I have with books like D&D is in many cases they still act like comp sci or programming is still a math discipline, doing such utterly non-real-world useless things like calculating Fibonacci numbers and similar. While this is fine for some students, it's awful for anyone less math inclined....so a book like Sams Teach Yourself C
might be a better first read, followed by the other two.
A few words of advice: 1. Always get the latest edition of the book available. Both C and C++ have undergone numerous revisions, some of which were fairly recent....which you'd be better off learning from the start.
2. Platform- for the learning stage, choose a platform agnostic book, or a book on Linux, assuming you have access to a Linux system. These books are much more ANSI compliant in their content generally than anything that mentions 'Windows programming.' Additionally, AOS4 seems to use gcc for it's compiler, so learning C on a Linux platform would be more useful if you'd like to ultimately develop for AOS.
All of the C books mentioned will cover the standard C lib, libc (or glibc), and should get you going in the right direction. If I had to choose 2 of them for a new pgorammer, it would be 2 & 3, and put #1 on your xmas or bday list. For an experienced programmer in another language, #1 and #2.
_________________ Are we not done with the same silly arguments and flames yet??! |
| Status: Offline |
| | mlehto
| |
Re: ANSI C, std libs , books Posted on 3-Jan-2005 23:52:30
| | [ #4 ] |
| |
|
Super Member |
Joined: 4-Dec-2004 Posts: 1006
From: Unknown | | |
|
| @sibbi & webster
Thank you :)
Miikka
|
| Status: Offline |
| |
|
|
|
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|