so it just avoids name clashes, associating it with a class, but it still is global.
yes right, i understand what you mean
, just one more thing,
if for instance there were two static members of different classes, both static int i, there woud also be two addresses in the program's static area. int Egg::i and int Shell::i.
In the case above, wouldnt it create a global Egg e, which also contains another global Egg e, Egg::Egg::e?
Thanks a million, i can imagine how hard it is to explain this