I need to achieve class constant for integral type ________________________________
class Ball{
static const int radius = 10;
};
I have tried,
class Ball
{
const static double radius ;
};
Ball::radius = 10.0;
________________________________
I get an "unresolved external symbol" linker error.
Any other way, this can be achieved?
Thanks,
Olufowobi Lawal
[Non-text portions of this message have been removed]
