it sounds to me like you aren't using new to allocate your array. In fact, it sounds like your array is either global or on the stack, in which case you shouldn't be deleting it. That's why you're getting a warning -- using an array name by itself returns a pointer to the first element, which is valid SYNTAX for using delete, but it doesn't give you the right to delete it. Only delete stuff that you "new."