Well, you could have a ChooseChar function, in which it gets the players choice, and depending on that choice sets the attributes.
like, for example:
or something like that.Code:int agility;
int strength;
ChooseChar ()
{
enum Race (orc, human, elf);
Race choice;
//get choice
switch (choice)
{
case orc:
agility = 3;
strength = 10;
break;
case human:
agility = 5;
strength = 5;
break;
case elf:
agility = 8;
strength = 4;
break;
}
Player player (strength, agility); //create player with attributes
}