home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH07 / A07101.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  286.6 KB  |  1 channel  |  11,025 sample rate  |  26 seconds
Transcription: 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.