home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06099.TXT < prev    next >
Encoding:
Text File  |  1993-11-23  |  324 b   |  6 lines

  1. The compiler calls a constructor and destructor automatically to
  2. create and destroy an object of a class.  If you want to define a
  3. class of objects that can be reset to their initial state after
  4. instantiation, include a reset member function in the class
  5. definition.  The constructor can also call this reset function.
  6.