Make it static?
class GameInstance{ enum Signs{ NUM_SIGNS = 3}; static const int gameRulesTable[2][2]; public: explicit GameInstance(){}; }; ...in your cpp file you would add: const int GameInstance::gameRulesTable[2][2] = {{1,2},{3,4}};
Russ Freeman
source share