Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
27 crawler(s) on-line.
 77 guest(s) on-line.
 1 member(s) on-line.


 amigakit

You are an anonymous user.
Register Now!
 amigakit:  33 secs ago
 matthey:  6 mins ago
 kolla:  25 mins ago
 RobertB:  25 mins ago
 NutsAboutAmiga:  1 hr 1 min ago
 Deaths_Head:  1 hr 1 min ago
 OlafS25:  1 hr 9 mins ago
 michalsc:  1 hr 13 mins ago
 pixie:  1 hr 21 mins ago
 zipper:  1 hr 30 mins ago

/  Forum Index
   /  Amiga Development
      /  ANSI C, std libs , books
Register To Post

PosterThread
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
Profile     Report this post  
sibbi 
Re: ANSI C, std libs , books
Posted on 3-Jan-2005 0:04:05
#2 ]
Team Member
Joined: 18-Mar-2003
Posts: 664
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle