home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH07 / A07126.TXT < prev    next >
Encoding:
Text File  |  1993-09-22  |  456 b   |  8 lines

  1. This main() function is the client code of the String class.  The
  2. use of dynamic memory in the implementation of the String class is
  3. hidden from the client code.  The client code of any class can use
  4. the new and delete operators to place objects of that class into
  5. the free store.  For example, this main() function could create
  6. String objects by calling the new operator, and there would be no
  7. conflict with the use of dynamic memory in the class.
  8.