is there any difference in the following:
what is better to use, I need to use static variables so I can pass a changedCode:struct Player { static int s_hp; }; int Player::s_hp = 100; to this: class Player { public: static int s_hp; }; int Player::s_hp = 10;
value to a new function
thanks - pete