Hi,
I wanna play a game in which each player can call a function etc.
My goal is now that i can select the 1st player in an array and this player can
call up some functions. After he did this, the next player is in order.
Hes doing the same as the player before him.
Thats how i set the number of Players:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
void rolldice();
bool prooftruth();
int numberofplayers;
cout << "Number of Players: ";
cin >> numberofplayers;
string *player = new player[numberofplayers];
for(int i = 0; i < numberofplayers;i++)
{
cout << "Tell me your name: ";
cin >> player[i];
}