Fredrik Eriksson wrote:
> Only objects that are dynamically allocated - i.e. with 'new' - need to
> be explicitly deallocated. You may not need to use 'delete' at all if
> you use standard library containers and/or smart pointers.
Okay, it's good to hear it from several people.
I use a DirectX game engine which requires a few "news", but I always
delete them when I am through with 'em.
Sam
Post a reply to this message
|