First page Back Continue Last page Graphics

fig13_04.cpp (2 of 2) fig13_04.cpp output (1 of 1)

  • 25 // successful memory allocation
  • 26 else
  • 27 cout << "Allocated 5000000 doubles in ptr[ "
  • 28 << i << " ]\n";
  • 29
  • 30 } // end for
  • 31
  • 32 return 0;
  • 33
  • 34 } // end main