+ 1
How can I do a cycle for whit a char arrengment on (c++)? the user set up the name of the players
// I tried to make a casino game where the user put the name of the players and the bets, but when I tried to print the results of the dice, my code only show me the results of the last username, not the all players, how can I make the arrengment char whit the cycle for// when I put Cout<<"the dice of" <<name<<"are: "<<endl; srand(time(0)); for(C=0;C<3;C++){ E=1+rand()%(6-1); Dices() // on this void I have a switch for the figure of each die//
1 Resposta
0
I tried to make a casino game where the user put the name of the players and the bets, but when I tried to print the results of the dice, my code only show me the results of the last username, not the all players, how can I make the arrengment char whit the cycle for