home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH07 / A07131.TXT < prev    next >
Encoding:
Text File  |  1993-10-18  |  339 b   |  7 lines

  1. The default, or compiler-supplied, new operator returns a pointer
  2. to the allocated memory if the allocation is successful.  In
  3. compilers now available, it returns the null pointer if the
  4. allocation cannot be completed.  Your program should either check
  5. the return value before trying to access the memory, or supply
  6. its own handler.
  7.