home *** CD-ROM | disk | FTP | other *** search
- Use the new operator to create an object in the free store. The
- return value of this operator is a pointer to the object. The
- pointer may be on the stack, while the object pointed to is in the
- dynamic memory area. The object can be of built-in type or of
- user-defined type. It can be an array or a pointer, but not a
- reference or a function. Dynamic memory allocation is often used
- for objects and data members of classes.
-