ssimmons@convex.com (Steve Simmons) (08/21/90)
To use a one shot variable shared among instances of the same
class, use the following code...
class GROUP
{
private:
int notShared;
static int shared;
public:
GROUP() : { if (shared == 0) doFirstInstanceStuff(); };
};
int GROUP::shared = 0; // Initialize here
Thank you.
Steve Simmons