Rob
Neither external nor static variables can be deleted in C or C++. Only
dynamic variables allocated by new/malloc can be deleted by
free/delete.
Why would you want to "delete" it ?
Regards
Horst
A static variable is just that: space is allocated at the beginning of
execution and it stays there until the end of execution.
If you have data that you need to create and destroy, use new and delete
(the heap). Use static for permanent data (during program execution).
So the answer to your question is: there's no way; that's not how static
works.
--
Stan Brown, Oak Road Systems, Cleveland, Ohio, USA
http://www.concentric.net/%7eBrownsta/
"I'm not even supposed to BE here!" -- the mantra from /Clerks/
My reply address is correct as is. The courtesy of providing a correct
reply address is more important to me than time spent deleting spam.