Edit: You don't have the <string> header included, the compiler would have said something about that.
the input function requires arguments, you didn't supply any.
You should make the parameters const, with strings passed by reference:
void Player::input (const string& NameIn,
const int ScoreIn,
const int Health_statusIn,
const string& WeaponIn,
const int StrengthIn )
I changed the naming convention to something less annoying IMO, you will have to change the names inside the function to match.
Another Idea is to use a constructor for this purpose, I leave it to you to research how to use a memeber init list.
Last edited on