[comp.sys.mac.programmer] Introductory C Books

ziff@zippy.eecs.umich.edu (Brian Moore) (08/04/89)

  I just received Lightspeed C today and guess what!  I realized I don't
really know how to program in C.  If the net would mind to give me some
advice on which C books are good for a beginner.  I know how to program
in Pascal, Fortran, Basic, RPG and (whew) COBOL.  I need a book that will
not be so simple that I start skipping parts that I shouldn't , but not so
involved in takes to much knowledge for granted and really gets me lost.
Ideally I'm looking for a book that has alot of example code and one that 
might even try to give analogous examples in another language (like Pascal,
for instance) so as to grasp the concept better.  
                                         Thanks for your time,
 
***************************************************************************
* +++++ +++++ +++++ +++++ *                                               *
*    +    +   +     +     *           "Time flies like an arrow,          *
*   +     +   +++   +++   *            fruit flies like a banana."        *
*  +      +   +     +     *             ---- Groucho Marx                 *
* +++++ +++++ +     +     *                                               *
***************************************************************************

prince@maui.cs.ucla.edu (Larry Prince) (08/04/89)

In article <211@zip.eecs.umich.edu> ziff@zippy.eecs.umich.edu (Brian Moore) writes:
>
[ Request for good C primer, with sample code and analogous examples
  in Pascal, etc. ]

I would also be interested in such a book...please e-mail me your
recommendations..."Get this one, it's great" will do, if enough
people concur :-)  but "This one is best because..." would be ideal
and much appreciated.

		    UCLA Computer Science Department
   -- Larry         3413 Boelter Hall   Los Angeles 90024  (213) 825-2145
	 Prince     UUCP:     {uunet,rutgers,ucbvax}!cs.ucla.edu!prince
		    Internet:  prince@CS.UCLA.EDU

peter@aucs.uucp (Peter Steele) (08/04/89)

>   I just received Lightspeed C today and guess what!  I realized I don't
> really know how to program in C.  If the net would mind to give me some
> advice on which C books are good for a beginner.  I know how to program
> in Pascal, Fortran, Basic, RPG and (whew) COBOL.  I need a book that will
> not be so simple that I start skipping parts that I shouldn't , but not so
> involved in takes to much knowledge for granted and really gets me lost.
> Ideally I'm looking for a book that has alot of example code and one that 
> might even try to give analogous examples in another language (like Pascal,
> for instance) so as to grasp the concept better.  

You should try "C as a Second Language -- For Native Speakers of Pascal". It
has *lots* of sample programs and solutions to odd numbered exercises. And
as the title implies, it is ideal for programmers who already know Pascal
(the book often draws parallels between contructs in Pascal and equivalent
contructs in C). There was a short though very favourable review in a Byte
magazine a few months back. There are some things I'd like to see done
differently, but no book is perfect. It is published by Addison-Wesley.

-- 
Peter Steele, Microcomputer Applications Analyst
Acadia University, Wolfville, NS, Canada B0P1X0 (902)542-2201x121
UUCP: {uunet|watmath|utai|garfield}!dalcs!aucs!Peter
BITNET: Peter@Acadia  Internet: Peter%Acadia.BITNET@CUNYVM.CUNY.EDU

jpd00964@uxa.cso.uiuc.edu (08/05/89)

[C primers]

First and foremost, you will need K&R.  That is actually The C Programming
Language by Kernighan and Ritchie.  This is the definition of the language.
Both first edition and second edition are being sold.  The second edition
is a bit better written, and includes a lot of new stuff, but the first edition
is cheaper and acceptable.  The LSC manual will tell you everything not in 
the first edition.

The next book is a new book.  It is called Macintosh Programming Primer by 
Chernicoff.  This books include routines written in LSC and is extremely well 
written.  I for one am very impressed with it.  It will give you four or five 
pages of source code, then spend ten pages explaining every routine.  You
can go through the source code and look up anything you do not understand.  It
does not teach you C so much as it teaches you how to implement standard C 
that works on every machine onto the Mac's F***ing Pascal calling convention.

Michael Rutman
Softmed

Greg_Mark_Finnegan@cup.portal.com (08/08/89)

If you're coming from Pascal, a real good book is:

_C as a Second Language For Native Speakers of Pascal_

by Tomasz Muldner and Peter W. Steele.

(It got me over the C hump :-)

Greg.