Original Post
this is what i have
class blah
{
blah();
static bool hasinit;
}
blah::blah()
{
if (!hasinit)
{
blahinit();
hasinit = true;
}
}
it gives me a linker error : unresolved external static bool hasinit
i don''t get why this is happening, how is it unresolved i already declared it? can somebody help?