home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH05 / A052106.TXT < prev    next >
Encoding:
Text File  |  1993-11-08  |  358 b   |  7 lines

  1. The member function init() initializes a PhoneBk object.  It sets
  2. the data member "numEntry" to 0 to indicate that the PhoneBk is
  3. empty.  This is an inline function because its body appears
  4. inside the class definition.  The first improvement to this
  5. implementation will be to replace init() with a special form of
  6. member function called a constructor.
  7.