home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06093.TXT < prev    next >
Encoding:
Text File  |  1993-10-18  |  365 b   |  7 lines

  1. This syntax is used to include a constructor and destructor in a
  2. class definition.  Notice that both the constructor and destructor
  3. have the same name as the class, and that the destructor is
  4. preceded with a tilde character.  A constructor may have
  5. arguments, but a destructor cannot.  Neither kind of function
  6. has a return type.  They cannot return a value.
  7.