Ok, so i know that:
A: there's going to be some uber-simple answer to this that makes me feel like an idiot.
or
B: someone else already made a thread about this issue.
Code:class Weapons{ public: int wClub; };I keep getting the error message "expected primary-expression before '.' token" linked specifically to the line:Code:case 13462: system("cls"); cout << "You now have a wooden club, if you already had one, way to waste time.\n\n"; Weapons.wClub = 1; system("pause"); break;
What's my issue?Code:Weapons.wClub = 1;