home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH07
/
A07121.TXT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-09-22
|
295 b
|
6 lines
You can use the new operator to place an object of a class in free
store. Here, a PhoneBk object is placed in the dynamic memory
area and its location is stored in the pointer "mybook". An array
of 26 PhoneBk objects is in the free store at the address stored
in the pointer "alphabook".