Okay. I created a program to create a character, and it uses a random number generator to initialize the Character classes strength and dexterity.
Here's the character class constructor.
Since the random number generator is based on time, both strength and dexterity have the same value when they're initialized. Is there a way to make them both different random numbers?
Character()
{
cout << "Enter name >> ";
cin >> this->name;
cout << endl;
//RANDOM NUMBER GENERATOR FOR STAT ROLL
srand((unsigned int)time(0));
int random = ((rand() % 20) + 8);
//ASSIGN CHARACTER STATS
level = 1;
strength = random;
dexterity = random;
}