Skip to content
Snippets Groups Projects
Commit df4baef5 authored by aurora's avatar aurora
Browse files

fix: added a }

parent 63e0b32d
No related branches found
No related tags found
No related merge requests found
......@@ -301,7 +301,7 @@ else if(result == 'D'){
* @see - calculateScore()
*/
void viewResults(){
int temp[gPlayers.size();]
int temp[gPlayers.size();
for(int i=0; i < gPlayers.size();i++){
gPlayers[i]->calculateScore(); //Calculates score for every player
......@@ -313,6 +313,7 @@ for(int i=0; i<gPlayers.size(); i++){ //Sorts scores and puts it in an array
}
}
}
}
for(int i=0; i<gPlayers.size(); i++){ //For MVP-purposes no scores can be identical
cout<< temp[i] <<"\t";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment