Try displaying the value, e.g.
Code:
cout << "You dont have enough gold for that (you have " << player.getGold() << " but need " << "mGoldRequired << ")" << endl;