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

  1. Use the new operator to create an object in the free store.  The
  2. return value of this operator is a pointer to the object.  The
  3. pointer may be on the stack, while the object pointed to is in the
  4. dynamic memory area.  The object can be of built-in type or of
  5. user-defined type.  It can be an array or a pointer, but not a
  6. reference or a function.  Dynamic memory allocation is often used
  7. for objects and data members of classes.
  8.