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:
Text File  |  1993-10-21  |  303 b   |  8 lines

  1. func_b() calls the new operator to allocate 
  2. bytes in the dynamic memory area for 1000 
  3. integers.  The new operator assigns the 
  4. location of these bytes to the pointer 
  5. "arg_b". func_b() then uses a loop to assign
  6. values to every element in the array of 
  7. integers located in the allocated bytes.
  8.