How do I run a destructor before the end of the program?
I am writing a program that is basically just a bunch of critters running around.
I can create them fine...but how do I run the destructor on them when they die without waiting till the end of the program?
|