home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH07
/
A0709415.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-10-21
|
303 b
|
8 lines
func_b() calls the new operator to allocate
bytes in the dynamic memory area for 1000
integers. The new operator assigns the
location of these bytes to the pointer
"arg_b". func_b() then uses a loop to assign
values to every element in the array of
integers located in the allocated bytes.