I'm having a lot of troubles with this. I'm trying to overload ++(postfix)
to increase the size of a dynamic array. I make a new dynamic array with the original size plus one. Then I copy all the attributes from the old dynamic array into the new one. Then I delete the old array and have the pointer point to the new array. Finally I have the person fill in the new spot. This is giving me troubles and causing crashes. I know it has something to do with the way I'm deallocating memory i just don't know what exactly. Also note there's a destructor that's also deallocating the array. But I don't understand why this is a problem if the pointer is still pointing to a dynamic array.