Chris Mabe Homework 7

Oops! Do these in the other order. You just deleted your backingArray, because both pointers point to the new array.
Instead, do delete[] backingArray; and then do backingArray = newArray;