First page Back Continue Last page Graphics

fig13_07.cpp output (1 of 1)

  • Creating an auto_ptr object that points to an Integer
  • Constructor for Integer 7
  •  
  • Using the auto_ptr to manipulate the Integer
  • Integer after setInteger: 99
  •  
  • Terminating program
  • Destructor for Integer 99