home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / acorn / 7981 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  2.0 KB

  1. From: kers@hplb.hpl.hp.com (Chris Dollin)
  2. Date: Wed, 22 Jul 1992 08:18:29 GMT
  3. Subject: Re: C books
  4. Message-ID: <KERS.92Jul22091829@cdollin.hpl.hp.com>
  5. Organization: Hewlett-Packard Laboratories, Bristol, UK.
  6. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!hpltoad!cdollin!kers
  7. Newsgroups: comp.sys.acorn
  8. References: <1992Jul21.163849.16593@doc.ic.ac.uk>
  9. Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
  10. Lines: 37
  11. In-Reply-To: alm@doc.ic.ac.uk's message of 21 Jul 92 16:38:49 GMT
  12. Nntp-Posting-Host: cdollin.hpl.hp.com
  13.  
  14. In article ... alm@doc.ic.ac.uk (Alexander L McLintock) writes:
  15.  
  16.    Ok folks, 
  17.    I am about to buy a C book. I am not a great C programmer. 
  18.    (I learnt how to program the "cat" command at college :-)
  19.    Price is a factor, so I am tempted by 
  20.    C : A Dabhand Guide. 14.95, (Second edition?)
  21.  
  22. I was completely put off the Dabhand book when I picked it up in a bookshop,
  23. opened it at random, and encountered the statement that it was unwise to use
  24. definitions of the form
  25.  
  26.     type *tp = &p;
  27.  
  28. ``because tp won't point anywhere yet''. This confusion of initialisation with
  29. assignment caused me to put the book back on the shelf post-haste. Has there
  30. been a second edition?
  31.  
  32.    Of course there is Kernigan and Ritchie .....
  33.  
  34. If you already know how to program in some language, I reccomend K&R (make sure
  35. you get the second - ANSI C - edition). If not, Harbison and Steele (also the
  36. second edition, I think) is supposed to be pretty good.
  37.  
  38. If you are going to get seriously into C, also buy Koenig's ``C Traps and
  39. Pitfalls''. 
  40.  
  41.    You better try mailing replies to me, I am sure this 
  42.    is probably quite boring for the rest of you. And
  43.    I don't want to start a language war!
  44.  
  45. I'm posting because I think some debate on good textbooks is better than a set
  46. of independant suggestions. Anyone else got some counter-advice?
  47. --
  48.  
  49. Regards,    | ``In fingers of trees, and valleys of gold    | Judy Tzuke
  50. Kers.       | I watch as you outshine the charlatan foe.''  | Higher & Higher
  51.