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

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!gavin
  2. Newsgroups: comp.sys.acorn
  3. Subject: Re: C books
  4. Message-ID: <BrsBt8.MD5@comp.vuw.ac.nz>
  5. From: Gavin.Flower@comp.vuw.ac.nz (Gavin Flower)
  6. Date: Wed, 22 Jul 1992 10:00:43 GMT
  7. Sender: news@comp.vuw.ac.nz (News Admin)
  8. References: <1992Jul21.163849.16593@doc.ic.ac.uk> <KERS.92Jul22091829@cdollin.hpl.hp.com>
  9. Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
  10. Nntp-Posting-Host: debretts.comp.vuw.ac.nz
  11. Lines: 41
  12.  
  13. In article <KERS.92Jul22091829@cdollin.hpl.hp.com> kers@hplb.hpl.hp.com (Chris Dollin) writes:
  14. [...]
  15. >I was completely put off the Dabhand book when I picked it up in a bookshop,
  16. >opened it at random, and encountered the statement that it was unwise to use
  17. >definitions of the form
  18. >
  19. >    type *tp = &p;
  20. >
  21. >``because tp won't point anywhere yet''. This confusion of initialisation with
  22. >assignment caused me to put the book back on the shelf post-haste. Has there
  23. >been a second edition?
  24. >
  25. >   Of course there is Kernigan and Ritchie .....
  26. >
  27. >If you already know how to program in some language, I reccomend K&R (make sure
  28. >you get the second - ANSI C - edition). If not, Harbison and Steele (also the
  29. >second edition, I think) is supposed to be pretty good.
  30. [...]
  31. >Regards,    | ``In fingers of trees, and valleys of gold    | Judy Tzuke
  32. >Kers.       | I watch as you outshine the charlatan foe.''  | Higher & Higher
  33.  
  34. I had a detailed look through the first edition of the Dabhand guide,
  35. it could have been a lot better, to put it diplomatically.  
  36.  
  37. K&R 2nd ed, covers ANSI "C", is what I use as my main reference, for
  38. both home (Archimedes) and university (assorted UNIX boxes).  It has
  39. the best index I've ever seen in a manual.  It has a sort of tutorial
  40. which is OK, if you've already learnt how to program.
  41.  
  42. I would reccomend using the ANSI protyping facility, and enabling all
  43. the warning messages.  It is a lot safer...  I speak from more years
  44. programming than I care to admit, and in more languages than I can
  45. remember!  (Though I must admit I've managed to avoid Pascal and
  46. Modula II!)
  47.  
  48. Gavin
  49. -- 
  50. Tomorrow's Society                              | flower_g@kosmos.wcc.govt.nz
  51.     Depends on                                   ----------------------------
  52. Today's Children  - help us raise them properly! 
  53. *******  These comments have no known correlation with dept. policy!  *******
  54.