home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / msdos / programm / 3020 < prev    next >
Encoding:
Internet Message Format  |  1992-12-27  |  2.1 KB

  1. Xref: sparky alt.msdos.programmer:3020 comp.os.msdos.programmer:11634 comp.sys.ibm.pc.programmer:681 comp.lang.c++:18438 comp.lang.c:18909
  2. Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer,comp.lang.c++,comp.lang.c
  3. Path: sparky!uunet!mole-end!mat
  4. From: mat@mole-end.matawan.nj.us
  5. Subject: Re: Newbie Wants Advice on C-Programming
  6. Message-ID: <1992Dec27.023035.26886@mole-end.matawan.nj.us>
  7. Summary: Begin at the beginning ...
  8. Organization: :
  9. References: <1992Dec23.220530.15347@netcom.com>
  10. Date: Sun, 27 Dec 1992 02:30:35 GMT
  11. Lines: 38
  12.  
  13. In article <1992Dec23.220530.15347@netcom.com>, noring@netcom.com (Jon Noring) writes:
  14.  
  15. > My wife ...  is now interested in learning C programming ...  I, too, have
  16. > an interest in learning C ...
  17.  
  18. There is a difference between learning C and learning C programming.
  19.  
  20. > 1) There seems to exist C, as well as C++, and possibly other variants.  What
  21. >    are the differences between these?  Which should we learn first?
  22.  
  23. You really have to learn C before learning C++, but you might as well learn
  24. C++ _programming_ directly.
  25.  
  26. > ...
  27. > 3) How robust is C compared to Fortran for purely number crunching, scientific
  28. >    type applications on the PC?
  29.  
  30. Neither C nor C++ has an exponentiation operator, and multidimensional arrays
  31. are arrays of arrays of single dimension, or arrays of arrays of arrays of
  32. single dimension, or ...
  33.  
  34. If you can deal with these, you can get started.  Much of what is done by
  35. nested arrays in FORTRAN is done by arrays of structs in C/C++.
  36.  
  37. > 4) What books would you recommend in learning C (my wife might want to take
  38. >    classes - I do better teaching myself)?  ...
  39.  
  40. To my taste, nobody has beaten K&R II for C.  For C++, or the non-C part of
  41. C++, you'll need at least two books: a book from which to learn and the ARM
  42. (Elis and Stroustrup, _The Annotated C++ Reference Manual_) for checking the
  43. details.  Since my book hasn't hit the shelves, I'll refrain from comment
  44. on which book you should buy to learn from.
  45.  
  46. -- 
  47.  (This man's opinions are his own.)
  48.  From mole-end                Mark Terribile
  49.  
  50.  mat@mole-end.matawan.nj.us, Somewhere in Matawan, NJ
  51.