From: | Allan Odgaard |
Date: | 17 Aug 99 at 18:21:06 |
Subject: | Re: Structure Arrays |
From: Allan Odgaard <Duff@DIKU.DK>
On 17-Aug-99, andrewmarkwell@ukonline.co.uk wrote:
> delete ptr[];
I'm almost certain that it's actually
delete [] ptr;
> to do that. Some compilers require you to have the size in the subset
> brackets though.
Are you sure about this? Most compilers tag the memory with its size, if they
cannot calculate it during deletion - most also tag it when they can :-(
Regards Allan