home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / learnc-c++-resources < prev    next >
Encoding:
Text File  |  1995-04-11  |  42.2 KB  |  898 lines

  1.  
  2. Archive-name:    C-faq/learn-c-cpp-today
  3. Last-modified:  Monday - Feburary 27, 1995
  4.  
  5.                         Copyright (c) 1994  Vinit Carpenter 
  6.                                 All rights reserved
  7.  
  8.  
  9. Introduction:
  10. -------------
  11.  
  12.     This is a list of a  few  C  and  C++ language tutorials available to a
  13.     user.   This  list includes interactive tutorials,  public-domain  code
  14.     collections, books etc.  I've developed this FAQ purely as a  volunteer
  15.     effort  as  a service to the Internet community.  Although every effort
  16.     has been made to insure that all the information here is as accurate as
  17.     possible, no guarantee is implied or intended.
  18.  
  19.     I welcome comments, suggestions  or  criticism  for  all the people out
  20.     there  on the net that read this.  If you can help me make this list  a
  21.     little better, you will be helping a lot of people  out  there  on  the
  22.     net.   I  am  a horrible writer and an even worse speller.  If you find
  23.     any errors or would like to  suggest  any additions please feel free to
  24.     email me at the address below:
  25.  
  26.             carpenterv@vms.csd.mu.edu
  27.  
  28.   
  29. What's new in this issue:
  30. -------------------------
  31.  
  32.     This section of the  document  will  point  out  all the new additions,
  33.     corrections,  updates  etc.  If there is enough interest, I will  start
  34.     producing a 'diff' version.  
  35.  
  36.     1. Added a second web server that has the HTML and PS version of this 
  37.        document.
  38.     2. Updated the information on the 'C++ on the WWW'.  The address has
  39.        of the web server has changes.  The author also converted Dordill's
  40.        C++ course to HTML which is online.
  41.     3. Updated the information in the MSDOS/Windows compilier section.
  42.     4. Added a new item called `Programming in C' that contains a great 
  43.        collection of C and programming items.
  44.     5. Updated the information on the C++ FAQ.  
  45.     6. Added a lot of information on OS/2. (Joe Dougherty)
  46.     7. Added more information about Scott Meyers new book titled "More
  47.        Effective C++". 
  48.  
  49.  
  50.     I am switching to URL in place of the standard ftp and filename format.
  51.     URL stands for "Uniform Resource Locator".   Think of it as a networked
  52.     extension of the standard filename concept: not only can you point to a
  53.     file  in a directory, but that file and that directory can exist on any
  54.     machine on the network, can be served  via  any  of  several  different
  55.     methods,  and might not even be something as simple as a file: URLs can
  56.     also point to  queries,  documents  stored  deep  within databases, the
  57.     results of a finger or archie command, or whatever.
  58.    
  59.     File URL:
  60.     ---------
  61.     file://oak.oakland.edu/pub/msdos/c/00_index.txt
  62.  
  63.     Gopher URL:
  64.     -----------
  65.     To connect to a particular gopher server, use this URL:
  66.  
  67.     gopher://gopher.tc.umn.edu/
  68.  
  69.     News URL:
  70.     ---------
  71.     To point to a Usenet Newsgroups, the URL is simply:
  72.  
  73.     news:comp.lang.c
  74.  
  75.     HTTP URL:
  76.     ---------
  77.     HTTP  stands  for  HyperText  Transport  Protocol.   HTTP  servers  are
  78.     commonly used for serving hypertext documents
  79.  
  80.     http://vinny.csd.mu.edu
  81.  
  82.     This file is posted on the 1st and the 15th of each month to the Usenet
  83.     Newsgroups  COMP.LANG.C,  COMP.LANG.C++,  NEWS.ANSWERS  & COMP.ANSWERS.
  84.     The  HTML  and  postscript  version of this  documents  are  available.
  85.     Here's the URL:
  86.  
  87.     http://vinny.csd.mu.edu                   
  88.  
  89.     NOTE: This is my Linux PC  that  does  get inundated with request.  The
  90.     last  time  I checked the stats, there were about 27 connections  every
  91.     minute.  If you get timed out, please try  again.   The  most  recently
  92.     posted  version of this document is kept on the news.answers archive on
  93.     rtfm.mit.edu.  You can receive it via anonymous ftp.  The URL is listed
  94.     below.
  95.     
  96.         ftp://rtfm.mit.edu/pub/usenet/news.answers/C-faq/learn-c-cpp-today
  97.  
  98.     If you don't have access to ftp, you can also receive this file via
  99.     e-mail by sending mail to mail-server@rtfm.mit.edu with:
  100.  
  101.     send /pub/usenet/news.answers/C-faq/learn-c-cpp-today
  102.  
  103.     in the body (not subject line) of your message. You can also receive
  104.     the latest version via electronic mail by e-mailing me.
  105.     
  106.         To: carpenterv@vms.csd.mu.edu
  107.     Subject: SEND LEARN C/C++ TODAY LIST
  108.     Body: ignored. Can be blank.
  109.  
  110.     I've written a little mailserver that doesn't always work, so please be
  111.     patient.  All requests  will be handled within 12 hours.  I am planning
  112.     to move this whole distribution thing  to  my Linux PC which will solve
  113.     all   the  delay  problems.   For  now,  you  might  want  to  use  the
  114.     news.answers archive for the latest  copy  of  this  file.   A  lot  of
  115.     tutorials discussed here are available via anonymous ftp.  If you don't
  116.     have  ftp,  you  can also retrieve these files via a ftp-email gateway.
  117.     To retrieve files via e-mail,  send mail to ftpmail@decwrl.dec.com with
  118.     the  command HELP in the body of the message to receive a complete list
  119.     of all commands.  A typical message would look something like this:
  120.  
  121.             connect oak.oakland.edu
  122.             chdir /pub/msdos/c
  123.             binary
  124.             uuencode
  125.             get xxx.zip
  126.             quit
  127.  
  128.     Some of the items discussed  here  are  platform-dependent, but most of
  129.     the  items are applicable across all platforms (portable).  If you have
  130.     any comments, suggestions, complaints, additions, etc, please feel free
  131.     to e-mail me at the following address:
  132.  
  133.     carpenterv@vms.csd.mu.edu
  134.  
  135.     If you are working on a tutorial or would like something added to this
  136.     list, please e-mail me at the address given above.
  137.  
  138. The Origins of C and C++:
  139. -------------------------
  140.  
  141.     The  'C'  programming  language   was   originally  developed  for  and
  142.     implemented  on  the UNIX operating system, on a DEC PDP-11  by  Dennis
  143.     Ritchie.  One of the best features of C is that it is not tied  to  any
  144.     particular  hardware or system.  This makes it easy for a user to write
  145.     programs that will run without any changes on practically all machines.
  146.     C is often called a  middle-level  computer language as it combines the
  147.     elements  of  high-level languages with the functionalism  of  assembly
  148.     language.
  149.  
  150.     C allows the  manipulation  of  bits,  bytes  and  addresses- the basic
  151.     elements with which the computer functions.  Another good point about C
  152.     is  its  portability which makes it possible to adapt software  written
  153.     for one type of computer to another.  C was  created,  influenced,  and
  154.     field  tested  by  working programmers.  The end result is that C gives
  155.     the programmer what  the  programmer  wants.   C  offers  the  speed of
  156.     assembly  language  and  the  extensibility of FORTH, but  few  of  the
  157.     restrictions of Pascal and Modula-2.
  158.  
  159.     C++ is an enhanced version of  the C language.  C++ includes everything
  160.     that  is  part  of C and adds support for  object-oriented  programming
  161.     (OOP).  In addition, C++ also contains many improvements  and  features
  162.     that  make it a "better C", independent of object oriented programming.
  163.     C++ is actually an extendible language since we can define new types in
  164.     such a way that they act just  like the predefined types which are part
  165.     of the standard language.
  166.  
  167.     If you just use C++ as a  better  C,  you  will not be using all of its
  168.     power.  Like any quality tool, C++ must be used the way it was designed
  169.     to  be used to exploit its richness.  Some of the new features  include
  170.     encapsulation,   inline   function   calls,   overloading    operators,
  171.     inheritance and polymorphism.  I am not going to explain what they mean
  172.     here  as  that  would simply take me away from my purpose here, but you
  173.     can refer to any  good  C++  book  or  the  C++  FAQ  (Item 7) for more
  174.     information.
  175.      
  176.  
  177. What do you need to get started?
  178. --------------------------------
  179.  
  180.     The first thing you need is  a  compiler.   A compiler reads the entire
  181.     program and converts it into object code, which is a translation of the
  182.     program source code into a form that the computer can execute directly.
  183.  
  184.     
  185. UNIX SYSTEM:
  186.     
  187.     Type cc at the %  prompt.   If  you  don't  get any error messages, you
  188.     probably have a C compiler .  If you get an error message, try acc, gcc
  189.     or  g++.   If  any  of  these don't work,  contact  your  local  system
  190.     administrator and ask him/her to get you a C/C++ compiler.   GNU  C/C++
  191.     compiler is available from a lot of anonymous ftp sites free of charge.
  192.     Look  into  it.   (I've  got  g++  running  on my Linux box without any
  193.     problems)
  194.     
  195. MSDOS/Windows/OS2/Linux (IBM COMPATIBLES): 
  196.     
  197.     There are a lot of good compilers  available to you.  Microsoft Quick C
  198.     and  Borland Turbo C/C++ are both good products for beginners.  You can
  199.     buy both of them for  under  $50.00.   I  use  Microsoft  Quick  C  and
  200.     MS-Visual  C/C++, and I prefer Quick-C for all my DOS programs as it is
  201.     small, and yet very powerful.   Most  of  my  programming  is now on my
  202.     Linux  PC with gcc/g++.  (If you want a great 32 bit operating  system,
  203.     you should look into Linux.  E-mail me for details).
  204.  
  205.     The increased popularity of OS/2 and  it's latest incarnation Warp, has
  206.     provided   programmers   with  a  wider  selection  of  compilers   and
  207.     programming tools.  Still available for free is  the  GNU  gcc  package
  208.     under  the  name  emx.   Emx integrates nicely with the Extended Editor
  209.     included with OS/2.  It's  available on ftp.cdrom.com, hobbes.nmsu.edu,
  210.     and  other  sites.  IBM provides the CSet++ 2.x, as well as a  smaller,
  211.     less-expensive package on  CD-ROM  called  CSet++  First  Step.   Other
  212.     popular  compilers  include  Borland C++ 1.0 for OS/2, and Watcom C/C++
  213.     for OS/2 10.0, and CA-C++ for OS/2 from Computer Associates.
  214.  
  215.     
  216. OpenVMS (VAX & AXP)
  217.     
  218.     If you're on a VAX, type  in  CC  to  check  and  see if you have a C
  219.     compiler.  VAX C is not the best compiler around, but it certainly does
  220.     the  job.   If  you don't have a C compiler, look into  the  GNU  C/C++
  221.     compiler GCC.  You can get the VAX version of GCC from ftp.spc.edu  via
  222.     anonymous  ftp.   If  on  a  AXP  system, you should have access to DEC
  223.     C/C++.  Please contact  your  local  system  administrator  or computer
  224.     consultant for more site specific questions.
  225.  
  226. Macintosh (Apple/PowerMac)
  227.  
  228.     There are three main  players  in  the  Mac  compiler market: MPW (from
  229.     Apple),  THINK  C / Symantec C++ (both from Symantec),  or  CodeWarrior
  230.     (from Metroworks): THINK C is $225 (only a C compiler), while  Symantec
  231.     C++ is $375 (includes C and C++ compilers).  CodeWarrior comes in three
  232.     versions:  bronze,  silver,  and  gold,  at $199/299/399, respectively.
  233.     Bronze generates 68K  code,  silver  generates  PowerPC  code, and gold
  234.     generates  both.   All  three  versions  include  C,  C++,  and  Pascal
  235.     compilers.  The Symantec C++ compiler (ver 7.0) can be  bought  with  a
  236.     cross-compiler for the PowerMac.
  237.  
  238.     There have been  two  attempts  at  freeware/shareware Mac C compilers:
  239.     Sesame  C  and  Harvest.   Harvest  C was an  ambitious  attempt  at  a
  240.     production-quality  freeware compiler which was later abandoned by  the
  241.     author.
  242.  
  243.  
  244. Tutorials:
  245. ----------
  246.  
  247. 1) Title:       A C tutorial. 
  248.    Filename:    C-LESSON.ZIP
  249.    Author:    Christopher Sawtell.
  250.    E-mail:    chris@gerty.equinox.gen.nz
  251.    URL:        ftp://garbo.uwasa.fi/pc/c-lang/c-lesson.zip
  252.  
  253.     This tutorial contains  a  complete  course  for  you  to learn the 'C'
  254.     computer  language itself.  Some knowledge, of computers and the jargon
  255.     is  assumed,  but  complicated  concepts  are  fully  explained.   This
  256.     tutorial  is  geared  towards the UNIX operating system, but everything
  257.     discussed here applies across all  platforms.   Most of the source code
  258.     included  here compiles under all the platforms.  This is a good effort
  259.     and is worth your time.  Updates to this tutorials are  posted  to  the
  260.     USENET group comp.lang.c.
  261.  
  262. 2) Title:    Coronado;s Generic C tutor v2.0
  263.    Filename:    GENCSRC.ZIP
  264.         GENCTXT.ZIP   
  265.    Author:    Gordon Dodrill
  266.    E-mail:    --
  267.    URL:        ftp://oak.oakland.edu/pub/msdos/c/gencsrc.zip
  268.            ftp://oak.oakland.edu/pub/msdos/c/genctxt.zip
  269.  
  270.  
  271.     This is one of the most complete tutorials out there.  Once again, most
  272.     of the items covered here  are  apply  across all platforms.  There are
  273.     some  items  discussed  here  that are  DOS  dependent.   The  tutorial
  274.     includes a manual that covers all the aspects of the C  language.   The
  275.     archive  also includes a huge collection of C code that is discussed in
  276.     this tutorial.   The  best  way  to  learn  anything  is  by  practical
  277.     application  and this tutorial does just that.  A payment of $10.00  is
  278.     requested by the author if you  find  the  tutorial  helpful,  but  the
  279.     payment  is  not  required.  I think you should send in the $10.00 as a
  280.     lot of time and effort went into this project.
  281.  
  282. 3) Title:    Thread An On-Line C Help File V 1.01
  283.    Filename:    THREAD.ZIP
  284.    Author:    Fran Horvath
  285.    E-mail:    --
  286.    URL:        ftp://oak.oakland.edu/pub/msdos/c/thread.zip
  287.  
  288.  
  289.     Thread is a C language help utility.  It was written by a member of the
  290.     U.S.D.A.  Grad School faculty to help students learning the C language.
  291.     Thread is a variable  record-length  database,  together with an index,
  292.     that  enables  the  fast lookup and  display of  C  keywords,  standard
  293.     library  functions,  and  other  items.   There  are  a  few  important
  294.     functions missing from this help utility, but it is still a pretty good
  295.     resource.  Give it a shot.
  296.  
  297. 4) Title:    Collection of C-Snippets
  298.    Filename:    SNIP9404.ZIP
  299.    Author:    Bob Stout
  300.    E-mail:    bobstout@neosoft.com
  301.    URL:        ftp://oak.oakland.edu/pub/msdos/c/snip9404.zip
  302.  
  303.     This  is  the  April  94   release   of   one  of  the  biggest  public
  304.     domain/freeware portable C code and instruction text.  According to the
  305.     author,  the  1.1 MB archive contains over 360 files and  approximately
  306.     35% of it is PC-specific.  The  rest  of  it  is  completely  portable.
  307.     There  is a piece of code for every single task starting with macros to
  308.     complete cut-and-paste C code  solution  and utilities, along with some
  309.     frequently  asked questions and instructional files.  This archive is a
  310.     must for every programmer.   If  you  already  have  SNIP0493.ZIP,  get
  311.     SNPD9404.ZIP which is basically the 'diff' file.
  312.  
  313.  
  314. 5) Title:    COMP.LANG.C FAQ
  315.    Filename:    FAQ
  316.    Author:     Steve Summit 
  317.    E-mail:     scs@eskimo.com 
  318.    URL:     ftp://rtfm.mit.edu/pub/usenet/news.answers/C-faq/faq
  319.    
  320.  
  321.     The FAQ (Frequently Asked  Questions)  is  a compilation of frequently-
  322.     asked  questions  of  the  usenet group,  COMP.LANG.C  along  with  the
  323.     answers.  Steve's put in a lot of work and this compilation  shows  it.
  324.     I  found that the FAQ answered a lot of my questions.  I even learned a
  325.     lot of new things  browsing  through  the  document.   I think this FAQ
  326.     should  should  be  on  your  computer desk right  next  to  a  good  C
  327.     programming book.  The FAQ is posted to  COMP.LANG.c  and  news.answers
  328.     every month along with the diff version.
  329.  
  330.  
  331. 6) Title:    TUTOR v3.10
  332.    Filename:    CTUTORDE.ZIP
  333.    Author:    Gordon Dodrill
  334.    E-mail:    rowe@netcom.com
  335.    URL:        ftp://oak.oakland.edu/pub/msdos/c/ctutorde.zip
  336.  
  337.  
  338.     This is an educational learning tool which helps expedite the difficult
  339.     process  of  learning  the  C  Programming  Language.   It  includes  a
  340.     tutorial,  style  guide,  and interactive quiz program  all  integrated
  341.     together in one program.  The tutorial covers both K&R version of C and
  342.     ANSI C.  One of the biggest limitation of this tutorial is that  it  is
  343.     only available for DOS computers.
  344.  
  345.  
  346. 7) Title:    Programming in C
  347.    Filename:    CE.html
  348.    Author:    Dave Marshall
  349.    E-mail:    Dave.Marshall@cm.cf.ac.uk
  350.    URL:        http://www.cm.cf.ac.uk/Dave/C/CE.html
  351.  
  352.     This is one of the best C  programming tutorials out there on the World
  353.     Wide  Web (WWW).  See tutorial #11 for more information on the web  and
  354.     tools to access the web.  This tutorial  starts  out  with  some  basic
  355.     ideas  and  then extends to some more advanced features of C.  With the
  356.     popularity of the World Wide Web, items on the web servers are going to
  357.     be very popular.  This is  really  a  great tutorial and worth checking
  358.     out.   Some  of  the  items discussed here are  loops,  arrays,  string
  359.     manipulation,  pointers,  dynamic  memory  allocation,  I/O,  UNIX,   C
  360.     preprocessor  and  some  exercises.   While you're out there, check out
  361.     Ceilidh, the online C tutoring system.
  362.                                           
  363.  
  364.  
  365. 8) Title:       ANSI C for Programmers on UNIX systems.
  366.    Filename:    love_C.ps.z, love_C.shar
  367.    Author:    Tim Love
  368.    E-mail:    tpl@eng.cam.ac.uk
  369.    URL:        ftp://svr-ftp.eng.cam.ac.uk/pub/misc/love_C.ps.Z
  370.  
  371.  
  372.     This is a really nice C  tutorial  geared towards people on UNIX system
  373.     as  the  title would suggest.  This document introduces C by  providing
  374.     sample programming tasks.  One of the good things about  this  tutorial
  375.     is  that all the source code included is ANSI compliant.  This tutorial
  376.     also includes programming exercises to  aid  or  gauge your progress as
  377.     you  go through the material (answers included in back).  The  tutorial
  378.     covers some of the  basics  such  as  functions,  pointers  and  string
  379.     manipulation  followed  by some programming examples to apply the items
  380.     you've just learned.
  381.  
  382.     There is also a section  on  memory allocation that illustrates the use
  383.     and dangers of malloc.  The section on the Make utility helped me a lot
  384.     as I really don't like make and makefiles.  The section of debugging is
  385.     also  extensive and has some great tips.  The appendix of this tutorial
  386.     also has a section of converting from K&R to ANSI C.  Really great  job
  387.     and well worth the checking into.
  388.  
  389.  
  390. 9) Title:    Coronado Enterprises C++ Tutorial (v2.20)
  391.    Filename:    CPTUTS22.ZIP   
  392.         CPTUTT22.ZIP   
  393.    Author:    Gordon Dodrill
  394.    E-mail:    --
  395.    Phone:    (505) 293-5464
  396.    URL:        ftp://oak.oakland.edu/pub/msdos/cpluspls/cptuts22.zip
  397.            ftp://oak.oakland.edu/pub/msdos/cpluspls/cptutt22.zip
  398.  
  399.  
  400.     Just like its C counterpart, this  is  really  one of the best and most
  401.     complete  C++ tutorial out there.  This tutorial is not for the  person
  402.     just starting out in programming as C++ is not an ideal first language.
  403.     But if you are familiar with C or any other programming language,  this
  404.     tutorial  will  get  you started with C++.  All the source discussed in
  405.     this tutorial is included and learning is really accelerated as you can
  406.     compile the code while you  are  reading  about it.  This tutorial will
  407.     assume  a  thorough knowledge of the C programming language and  little
  408.     time will be spent on the fundamental aspects of the language.  Special
  409.     attention has be devoted to explaining the newer additions as  provided
  410.     by  the  ANSI-C  standard, as  many programmers are used to the old K&R
  411.     school of thought.
  412.  
  413. 10) Title:    COMP.LANG.C++ FAQ
  414.    Filename:    FAQ
  415.    Author:     Marshall P. Cline, Ph.D. 
  416.    E-mail:     cline@parashift.com
  417.    URL:     ftp://sun.soe.clarkson.edu/pub/C++/FAQ
  418.     
  419.     Wow!!!  That's really all I can  say about this collection of questions
  420.     and answers for C++ and Object Oriented Programming (OOP).  This is the
  421.     complete FAQ for the Newsgroups COMP.LANG.C++ compiled by Dr.  Marshall
  422.     Cline.  I have been programming in C++ for a few months and am far away
  423.     from  being  an  'expert', and this compilation helped  me  enormously.
  424.     Once again, this is not for the person that is starting to  learn  C++,
  425.     but  if  you've  already taken the first step, this FAQ is for you.  If
  426.     you don't have ftp, you  can  also  receive  it via e-mail by sending a
  427.     message  to archive-server@sun.soe.clarkson.edu with the subject  `send
  428.     C++/FAQ'.
  429.  
  430.     The C++ FAQ has been released as  a book called `C++ FAQS -- Frequently
  431.     Asked  Questions'  by Addison-Wesley.  The book is a complete  re-write
  432.     and contains about 5 times the  material  that  is  indexed  and  cross
  433.     referenced.   Check out the book section for a review of the book.  The
  434.     FAQ will still be  posted  in  the  Newsgroup comp.lang.c++, but if you
  435.     find the FAQ helpful, you should really buy the book.
  436.  
  437.     
  438. 11) Title:    C++ on the World Wide Web
  439.    Filename:    C++.html
  440.    Author:    Marcus Speh
  441.    E-mail:    marcus@x4u.desy.de
  442.    URL:        http://uu-gna.mit.edu:8001/uu-gna/text/cc/index.html
  443.  
  444.     This is one of  the  award  wining  courses  at  the 1st WWW conference
  445.     (congratulations  Marcus.  great job).  One of the newest addition here
  446.     is the Dorill C++ course converted to  HTML.   There  is  a  wealth  of
  447.     information  on  C++  available on the World Wide Web (WWW).  The World
  448.     Wide Web (WWW) is a  wide  area hypermedia information retrieval system
  449.     that  gives the user universal access to a large universe of documents.
  450.     One of the most popular to the Web is called Mosaic developed by  NCSA.
  451.     Mosaic  is  an Internet based global hypermedia browser that allows you
  452.     to discover, retrieve and display documents  and data from all over the
  453.     world.   Global  hypermedia means that information located  around  the
  454.     world is interconnected in an environment that  allows  you  to  travel
  455.     through  the  information  by  clicking on hyperlinks-- terms, icons or
  456.     images in documents that point to  other related documents.  Here's the
  457.     URL (Uniform Resource Locator) for the C++ Virtual Course.
  458.  
  459.             http://uu-gna.mit.edu:8001/uu-gna/text/cc/index.html
  460.  
  461.     You might also want to connect  to  info.desy.de and browse.  I found a
  462.     lot  of  great  items such as documents and sources on C++  and  Object
  463.     oriented programming, Internet groups for discussions and questions  on
  464.     C++,  discussion of Object-Oriented Literate Programming and many other
  465.     postscript papers.
  466.  
  467.         http://info.desy.de/general/users.html
  468.  
  469.  
  470. 12) Title:    Programming in C
  471.    Filename:    index.html
  472.    Author:    Jutta Degener
  473.    E-mail:    jutta@cs.tu-berlin.de
  474.    URL:        http://www.lysator.liu.se/c/index.html
  475.  
  476.     
  477.     This is really one of the best  collection of C related items out there
  478.     on  the  World Wide Web maintained by the Lysator computer society,  an
  479.     association of  computer  science  students  at  Linkoping  University,
  480.     Sweden.   Here's a list of some of the items.  There is a great section
  481.     on ANSI C, reviews of 3 books and a list of errata from 2 books.  There
  482.     is a very interesting paper called `A development of the C language' by
  483.     Dennis Ritchie that traces the origin of  the language we know and love
  484.     today.
  485.  
  486.     There is a HTML version of  Kernighan's historical "Programming in C: A
  487.     Tutorial"  from 1974 (that describes an early version of C, four  years
  488.     before K&R.  WARNING: DO NOT USE THIS DOCUMENT  AS  A  TUTORIAL);  also
  489.     included  are  the  "Ten  Commandments  for  C  Programmers  (Annotated
  490.     Version)" and a HTML version of Steve Summit's comp.lang.c FAQ.
  491.     
  492. 13) Title:    C++ Annotations (ver 3.3.3)
  493.    Filename:    cplusplus.html
  494.    Author:    Frank Brokken & Karel Kubat 
  495.    E-mail:    frank@icce.rug.nl, karel@icce.rug.nl
  496.    URL:        http://www.icce.rug.nl/docs/cplusplus/cplusplus.html
  497.  
  498.     This web based tutorial is  intended  for  knowledgeable users of C who
  499.     would  like  to make the transition to C++.  This document presents  an
  500.     introduction to programming in C++.  It  is  a  guide  for  programming
  501.     courses  taught at State University of Groningen This document is not a
  502.     complete C/C++ handbook, but  rather  serves  as  an  great addition to
  503.     other  documentation sources.  The reader should take note of the  fact
  504.     that an extensive knowledge of the C programming  language  is  assumed
  505.     and required.
  506.  
  507.     This document continues where topics of the C programming language end,
  508.     such as pointers, memory allocation and compound types which makes it a
  509.     very good programming guide.  I  highly  recommend this tutorial to any
  510.     individual who is really interested in becoming extremely knowledgeable
  511.     on C++ and a proficient programmer.  Here is a listing of the chapters.
  512.    
  513.         1. Introduction to C++
  514.         2. A first impression of C++
  515.         3. Classes
  516.         4. Classes and memory allocation
  517.         5. Static data and functions
  518.         6. Inheritance 
  519.         7. Polymorphism, late binding and virtuality
  520.         8. Concrete examples of C++ 
  521.         9. Templates
  522.  
  523.  
  524. Books currently being reviewed:
  525. ------------------------------
  526.  
  527.     If you have any thoughs or comments, please feel free to e-mail me at
  528.     carpenterv@vms.csd.mu.edu
  529.  
  530. 1.  Scientific  and  Engineering   C++:   An   introdcution  with  Advanced
  531.     Techniques  and Examples by John J.  Barton and Lee R.  Nackman 
  532.     (ISBN 0-201-53393-6)
  533.  
  534. 2.  C++ A Pratical Introduction by Brian Hahn (ISBN 1-85554-325-7)
  535.  
  536. 3.  C++ For Dummies by Stephen R.  Davis (ISBN 1-56884-163-9)
  537.  
  538. 4.  The Craft of  C:  Take  Charge  Programming  by  Herbert  Schildt (ISBN
  539.     0-07-881882-6)
  540.  
  541. 5.  C By Discovery by L.S.Foster (ISBN 1-881991-29-6)
  542.  
  543. 6.  Teach yourself C++  programming  in  21  days  by  Jesse  Liberty (ISBN
  544.     0-672-39541-0)
  545.  
  546.  
  547. Books:
  548. ------
  549.  
  550.  
  551. [1] "The C Programming Language" (2nd ed.)
  552.     Brian W. Kernighan & Dennis    Ritchie
  553.     Prentice Hall ISBN: 0-13-110362-8
  554.  
  555.     This is the second edition  of  the  original Kernighan & Ritchie (K&R)
  556.     text.   This  book is  commonly referred to as the New Testament as  it
  557.     includes the modifications incorporated by  the  ANSI  standard,  while
  558.     retaining  the  nature  of the 1st edition.  This book assumes that the
  559.     reader  has  some  basic  programming  knowledge.   So  if  you're just
  560.     starting  to program and C is the first language, this might not be the
  561.     ideal book.  This is one of THE  BEST books  on  C  and  a  must  have,
  562.     especially if you're starting your own little programming library.
  563.  
  564.  
  565. [2] "Programming in ANSI C" (Revised edition: 1994)
  566.     Kochan, Steven
  567.     SAMS Publishing ISBN 0-672-30339-6
  568.  
  569.     This book by  Steve  Kochan  is  absolutely  the  best  book for anyone
  570.     starting  out programming in C.  This is an excellent introductory text
  571.     with frequent examples and good text.  This book makes  no  assumptions
  572.     about the particular computer system or operating system on which the C
  573.     language  is  implemented.   This  books  is  written  for  novices and
  574.     experienced programmers alike.  I  love  this book as the comprehensive
  575.     'teach by examples' book can help you master the unique features of the
  576.     C  language.   There is complete coverage of program looping,  decision
  577.     making, arrays,  strings,  pointers  and  bit  operations  and  helpful
  578.     end-of-chapter  exercises.   This  is the book I used to learn C and it
  579.     really is a great book.  The  K&R  book is really great as a reference,
  580.     but not as the first book.
  581.  
  582.  
  583. [3] "Expert C Programming: Deep C Secrets"
  584.     Peter Van Der Linden
  585.     SunSoft Press. (ISBN 0-13-177429-8)
  586.  
  587.  
  588.     Peter has written one of the  greatest  books  to hit the computer book
  589.     stands  in a long time!  This is not your typical C book, but is rather
  590.     a fun book to read.  As I told Peter,  most  C  programming  texts  are
  591.     really boring as all they do is describe the functions, give a abstract
  592.     example  and  then  move  onto something different.  This book is chock
  593.     full of real world C stories and  folklore, including a story about the
  594.     C  bug that brought down the AT&T network.  I found the tongue-in-cheek
  595.     attitude and real world examples/stories very, very interesting.   Run,
  596.     don't  walk,  down  to  your  local  store and buy this book.  I really
  597.     really loved this book, and I read most of it in one sitting.  There is
  598.     also a great introduction to C++  for  C  programmers that will get you
  599.     started with C++ and Object-Oriented programming.  This book is not for
  600.     beginners, but is a great second book on C.
  601.  
  602.     Expert C Programming is also ideal for  those C programmers who want to
  603.     move  to C++.  According to the author, the book puts the "fun" back in
  604.     "functions" :)
  605.  
  606.  
  607.  
  608. [4] "C: The Complete Reference" (2nd ed.) 
  609.     Schildt, Herbert.
  610.     Osbourne/McGraw-Hill.  (ISBN 0-07-881538-X).
  611.  
  612.     This is a pretty good C language  reference book.  I am more partial to
  613.     the Microsoft C Bible as a reference but this is not a bad book at all.
  614.     If  you're  a beginning C programmer or a seasoned pro, the answers  to
  615.     most of C questions can be found in this one-step resource.  This  book
  616.     presents  an  extensive  summary of C library functions defined by ANSI
  617.     and many common extensions  including  UNIX.   This  book is a must for
  618.     that perfect programmer library.
  619.  
  620. [5] Absolute Beginner's Guide to C
  621.     Perry, Greg
  622.     SAMS Publishing. ISBN 0-672-30341-8
  623.  
  624.     This is a absolutely  beginner's  book.   If  you have never programmed
  625.     before,  this book is for you.  No knowledge of any programming concept
  626.     is assumed.  I like the fact that this book talks to you at your  level
  627.     without  ever talking down to you.  This book does not try to overwhelm
  628.     the  beginners  with  a  lot  of  technical  details  while emphasizing
  629.     introductory  principles.  If you've never programmed, this is the book
  630.     for you.  If you are familiar with programming, I would suggest  either
  631.     'The  C programming language' by Kernighan & Ritchie or 'Programming in
  632.     ANSI C' by Kochan.
  633.  
  634. [6] Microsoft C Bible. 1990 (2nd ed.)
  635.     Waite Group Staff.
  636.     Howard W. Sams & Company. ISBN 0-672-22620-0 
  637.  
  638.     This book is a must for  every programmer, especially those who program
  639.     in  the  DOS  environment.   The Bible  organizes  and  simplifies  the
  640.     information contained in Microsoft's C  library.   Each  function  page
  641.     gives the purpose, syntax, example call, includes, common uses, returns
  642.     and  examples.  The book also has compatibility check boxes, so you can
  643.     be sure your program compiles with  the Microsoft C v5.0-7.0, Microsoft
  644.     Quick C, Borland Turbo C and UNIX system V compilers.
  645.  
  646. [7] Programming C in 12 Easy Lessons
  647.     Greg Perry  ISBN:0-672-30522-4
  648.     Sams (1st edition, 4/94)
  649.     Reviewed by: Don Lockhart (dlock@nlbbs.com) 
  650.                 
  651.     In a nutshell: This book is  very  well  thought out.  It is very clear
  652.     and  easy to follow for the new user.  It categorizes information  into
  653.     Notes, Tips, Warnings, and starts each lesson with an overview  of  the
  654.     concepts to be presented as well as a review of them at the end of each
  655.     lesson.   Sidebars are also presented with useful relevant information.
  656.     When new terms appear a definition  of  them appears in the page margin
  657.     to  further  explain their usage.  Each lesson ends with some  practice
  658.     "homework" and "extra credit" work to further enhance what you've  just
  659.     learned.   In  the front of the book, there's a tear-out reference card
  660.     with C functions, operators etc on one side, and Turbo C++ editing keys
  661.     and functions on the other side.   In  the  back of the book there's an
  662.     offer for Borland C++ 4.0 or full blown Turbo C++ at "discount rates".
  663.  
  664.     All lesson coding is also pre-typed  on the included diskette.  Also on
  665.     the  disk  you'll  find the answers to all the homework as  well  as  a
  666.     "lite" version of Borland's Turbo C++ compiler.  Differences from  ANSI
  667.     C to C++ are always noted.
  668.  
  669.     I have been "threatening" to learn C  for a couple of years.  This book
  670.     has  quickly  taken me from the sidelines to diving in head first,  and
  671.     actually gotten me excited about it.  The info is well presented, and I
  672.     haven't come up with any questions yet that I have  not  been  able  to
  673.     find  the  answer in the book.  I'm not 100% sure, but I believe when I
  674.     was at the book store there  is  also  a  sequel to this book that even
  675.     gets into more of actually developing applications using C.
  676.  
  677. [8] Teach Yourself C++ 1992
  678.     Herbert Schildt
  679.     Osborne McGraw-Hill. ISBN 0-07-881760-9
  680.  
  681.     Teach Yourself C++ is another  great  book  from Herbert Schildt who is
  682.     more  popular for his great C books.  This book is especially  designed
  683.     for programmers who already know how to  program  in  C.   Based  on  a
  684.     15-minute lesson format, this book includes a lot of exercise and skill
  685.     checks  to  make  sure your programming abilities grow by each chapter.
  686.     This book is  really  the  perfect  introductory  guide  for anyone who
  687.     already knows how to program in C.
  688.     
  689.     According to my sources, this book  is currently under revision.  There
  690.     are  several items missing from this book as it was written before  C++
  691.     was finalized.  I still think it is a pretty nice book.
  692.  
  693.  
  694. [9] The C++ Programming Language (2nd edition)
  695.     Bjarne Stroustrup
  696.     Addison Wesley (ISBN 0-201-53992-6)
  697.  
  698.     Bjarne Stroustrup is the designer of C++  and has written 2 great books
  699.     on C++.  This book is divided into three parts: The first part provides
  700.     a  tutorial introduction to C++.  The second part presents a discussion
  701.     of design and software development issues arising  in  connection  with
  702.     the use of C++ and the third part is a complete reference manual.  With
  703.     the  popularity  of  C++, several independent distributions of C++ have
  704.     come  forward,  but  the  book  discusses   'pure  C++;'  that  is,  no
  705.     implementation  dependent extensions are used.  I have been programming
  706.     in C++ for a while and yet found this book very helpful.   One  of  the
  707.     best  way  to learn a programming language is by writing small programs
  708.     relevant to the item you study.  There are exercises at the end of each
  709.     chapter to test/apply  what  you  learned  in  that particular chapter.
  710.     This  wasn't  the book I used to learn C++ and I only recently  got  it
  711.     from DEC [DEC ships this book with their C++ compiler in lieu  of  real
  712.     documentation :)], but I wish I had gotten it sooner.  This is really a
  713.     great  book and worth every penny.  If anyone has an extra copy of 'The
  714.     annotated C++ reference' by  the  same  author,  drop  me a line.  I've
  715.     already  spent about $1400.00 this year on books and I can't afford  to
  716.     spend anymore.  :)
  717.  
  718.  
  719. [10]Using Visual C++
  720.     Shammas, Namir
  721.     Que Corporation  ISBN: 1-56529-626-5
  722.  
  723.     A lot of people have e-mailed me asking for recommendation for a Visual
  724.     C++/MS-Windows programming book and  the  one I use/recommend is 'Using
  725.     Visual  C++'.   This book is aimed at readers who are already  familiar
  726.     with C++ and Windows.  This book covers many  programming  topics  that
  727.     use  C++  and the Microsoft Foundation Classes (MFC).  This book starts
  728.     with an overview of  the  Visual  C++  workbench and the MFC hierarchy.
  729.     The  book  also  discusses the AppWizard, ClassWizard  and  App  Studio
  730.     utility.  This book really lets you take  full  advantage  of  the  C++
  731.     compiler and all the utilities that come with it.  Microsoft provides a
  732.     lot of great information with the compiler package, but I found it hard
  733.     to  look  through  20 different manuals to find some basic information.
  734.     By the time you finish this book, you  will be ready to create your own
  735.     MS-Windows  applications.   Windows programming is pretty complex,  but
  736.     this comprehensive guide shows you efficient and proven  techniques  to
  737.     build powerful applications.  
  738.  
  739.     Another great  book  is  'Visual  C++:  A  Developer's  Guide'  by Alex
  740.     Leavens.  (ISBN 1-55851-339-6) This book explores the comprehensive set
  741.     of  programming  tools that come with Visual C++.  This book shows  you
  742.     how to take advantage of MFC, OLE 2.0, add sounds  to  various  Windows
  743.     systems events and creating icons, cursors and bitmaps images.
  744.  
  745.  
  746.  
  747. [11]C++ Primer  (2nd edition)
  748.     Lippman, Stanley B
  749.     Addison Wesley  ISBN 0-201-54848-8
  750.  
  751.     The C++ Primer is a great book and  will make learning C++ a joy.  This
  752.     really  is  one of the best books C++ book out there, but it assumes  a
  753.     lot of familiarity with programming concepts and a  proficiency  in  C.
  754.     Everyone  I know who uses C++ recommends this book very highly.  If you
  755.     are interested in  learning  more  about  Object  Oriented Program, you
  756.     might consider buying "Object Oriented Design" by Peter Coad and Edward
  757.     Yourdon" (ISBN 0-13-630070-7)
  758.  
  759.  
  760. [12]"C++ FAQs: Frequently Asked Questions"
  761.     Marshall P. Cline and Greg A. Lomow
  762.     Addison-Wesley ISBN 0-201-58958-3
  763.  
  764.     When I first heard  about  the  book,  it  thought  it  would just be a
  765.     reprint  of  the  electronic version of the FAQ, but I  was  pleasantly
  766.     surprised when I got my hands on the book (Thanks Deborah) This  is  no
  767.     mere  reprint.   This  is a *great great* book that contains answers to
  768.     about 500 questions on programming, design, analysis and testing.  This
  769.     book is not for beginners, but for programmers who have figured out the
  770.     syntax of the language, and are looking to implement them.  If you have
  771.     questions like  "What  is  a  class  invariant?",  "How  should  I  use
  772.     exceptions?",  "What happens when a destructor is executed?", then this
  773.     is the book for you.
  774.  
  775.     This is a very practical book  that contains answers to some real-world
  776.     programming  questions  that  will  really help  anyone  involved  with
  777.     software development.  I just wish I had this book around  when  I  was
  778.     taking  my  C++  classes.  Unlike other books, this book contains about
  779.     200 complete program rather than code  snippets that leave you guessing
  780.     about the implementation.  This book is a definite jem and should be in
  781.     every  single  programmers  library.  Go out and buy 2 copies  of  this
  782.     book: One for the office and one for the nightstand at home.
  783.  
  784.  
  785. [13]Learn C++ on the Macintosh
  786.     Dave Mark
  787.     Addison-Wesley ISBN 0-201-62204-1
  788.  
  789.     This book comes  with  a  customized  version  of  Symantec C++ for the
  790.     Macintosh.   In addition, there is a coupon for obtaining the  complete
  791.     version of Symantec C++ at a much reduced  price.   I  would  recommend
  792.     this  book for those who are just beginning to program in C++; however,
  793.     it does assume at least  a  working  knowledge  of C.  There is a quick
  794.     review  of  C at the beginning.  Dave Mark also has a book 'Learn C  on
  795.     the  Macintosh'.   It  has  the  same  great  style  and  comes  highly
  796.     recommended.  Thanks Lizann Bolinger.
  797.  
  798.  
  799. [14]Effective C++
  800.     Scott Meyers
  801.     Addison-Wesley ISBN 0-201-56364-9
  802.  
  803.     This is just  a  great  great  book  on  C++  and  is  a must for every
  804.     programming  library.   The book is a listing of things which you  must
  805.     get right if your program is to be  safe  and  reliable,  and  a  clear
  806.     description  of what it means to get them `right.' The book raises some
  807.     very interesting issues  that  every  program  faces.  C++ provides the
  808.     structure  and  the means to talk about them in a concrete way  and  to
  809.     program them explicitly.
  810.  
  811.     The author is working on another C++  book, and the title will be "More
  812.     Effective  C++.   " Here's more information that the author  posted  in
  813.     comp.lang.c++.  If all goes according to  plan,  "More  Effective  C++"
  814.     should be available around the end of September.
  815.  
  816.     As for  the  book  itself,  "More  Effective  C++"  will  use  the same
  817.     Item-based  organization  that I used in "Effective C++," but  it  will
  818.     cover all new material, and it will not assume that readers  have  read
  819.     "Effective  C++."  (If  they  have,  so much the better, but it's not a
  820.     prerequisite.) As such, "More  Effective  C++"  isn't really "Effective
  821.     C++, Volume 2," though it can be read that way, if you like.
  822.  
  823.     Like "Effective C++," "More  Effective  C++"  will  cover  a variety of
  824.     topics.   One  of those topics will be efficiency.  The  current  draft
  825.     contains at  least  12  Items  on  that  topic  alone,  and  efficiency
  826.     considerations  comprise a thread that winds through many of the book's
  827.     other Items, too.
  828.  
  829.  
  830. Conclusion:
  831.  
  832.     C and C++ are great  programming  languages that can make programming a
  833.     lot  of fun.  One of the best ways to learn is by taking a  programming
  834.     class.  See if you can take a class at your school, or take a class  at
  835.     night school.  Programming in C/C++ is a skill that could end up saving
  836.     you your job or help you get a better job.  I hope these tutorials help
  837.     you in your quest to learn the C and C++ programming language.
  838.  
  839.  
  840. Acknowledgment:
  841. ---------------
  842.  
  843.     Steve Summit         scs@eskimo.com
  844.     Lizann Bolinger        bolinger@zeno.ibd.nrc.ca
  845.     Blake Sobiloff        sobiloff@mail.lap.umd.edu
  846.     Alex Wu            wua@cpsc.ucalgary.ca
  847.     Ian Jackson        ijackson@nyx.cs.du.edu
  848.     Peter Vanderlinden    Peter.Vanderlinden@eng.sun.com
  849.         Robin Schogol        rschogol@lehman.com
  850.     Marcus Speh         marcus@x4u.desy.de
  851.     Jutta Degener         jutta@cs.tu-berlin.de
  852.     Joe Dougherty        jdough@gate.net
  853.  
  854.  
  855. ---------
  856.                * List of C tutorials   Last Update: 02/27/95 *
  857.        * Compiled By:  Vinit Carpenter -  carpenterv@vms.csd.mu.edu *
  858.  
  859.  
  860.     Note that this document is provided  as  is.   The information in it is
  861.     *not* warranted to be correct; you use it at your own risk.
  862.  
  863. o   The LEARN C/C++ TODAY  List  is  Copyright  1994 by Vinit S.  Carpenter
  864.     (carpenterv@vms.csd.mu.edu).   It may be reproduced and distributed  in
  865.     whole or in part, subject to the following conditions:
  866.  
  867. o   This  copyright  and  permission  notice   and  the  paragraph  in  the
  868.     introduction  about  the frequency of updates must be retained  on  all
  869.     complete or partial copies.
  870.  
  871. o   Any translation or  derivative  work  must  be  approved  by  me before
  872.     distribution.  Email me - I'll will be happy to oblige !
  873.  
  874. o   If you wish  to  charge  for  non-machine-readable  copies  you need my
  875.     approval  before  distribution.   Note  that this  restriction  is  not
  876.     intended to prohibit charging for the service of printing or copying  a
  877.     document supplied by your customer.
  878.  
  879. o   If  you  distribute  partial  copies  of  this  list,  instructions for
  880.     obtaining  the  complete  version  must be included, and  a  means  for
  881.     obtaining a complete version free or at cost price provided.
  882.  
  883. o   Exceptions to these rules  may  be  granted,  and  I  shall be happy to
  884.     answer  any questions about this copyright --- Simply e-mail me.  These
  885.     restrictions are here to protect the contributors, not to restrict  you
  886.     as educators and learners.
  887.  
  888. o   Vinit Carpenter asserts the  right  to  be  identified as the author of
  889.     this  work, and claims the moral rights of paternity and integrity,  in
  890.     accordance with the Copyright, Designs and Patents Act, 1988.
  891.  
  892. ----
  893. Vinit S. Carpenter       Marquette University      carpenterv@vms.csd.mu.edu
  894.      Author of the INTERNET-MENU for OpenVMS and LEARN C/C++ TODAY List
  895.                        Moderator: COMP.BINARIES.IBM.PC
  896.                           * Email me for details *
  897.      <a href="http://vinny.csd.mu.edu"> My Personal Linux Web Server</a>
  898.