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

  1. Since the operand of the delete operator is a pointer, the
  2. compiler cannot always detect whether or not the object being
  3. deleted is an array.  For this reason, you should always include
  4. the square brackets, as shown here, when deleting an object that
  5. is an array.  Use this form of the delete operator for all objects
  6. created with square brackets in the corresponding call of the new
  7. operator.
  8.