I need to keep a static variable in a member function of a class that I have many objects of. I've had some trouble with it, and when I read up I found that such variables are static across all instances. Is there any way around this?
Hehe, I realized just too late that it was that easy :P I didn't realize it would be static across instances,I thought it was only across function calls.