P
Phill
Something like this:
class X
{
static const int MY_CONSTANT = 10;
}
I want the variable to be constant and to be shared by all instances
of the class so as to not waste memory.
class X
{
static const int MY_CONSTANT = 10;
}
I want the variable to be constant and to be shared by all instances
of the class so as to not waste memory.