Skip to content
Snippets Groups Projects
Commit 8b7cbd04 authored by TheHresvelgian's avatar TheHresvelgian
Browse files

bugfixing

parent f30361f7
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ vector<Tournament *> gTournaments; ...@@ -18,7 +18,7 @@ vector<Tournament *> gTournaments;
string menuToPrint; string menuToPrint;
string menuStart = "\nS: Start a new tournament\nQ: Quit the program"; string menuStart = "\nS: Start a new tournament\nQ: Quit the program";
string menuSetUp = "\nV: View player list\nE: Edit a player\nA: Add player\nD: Delete player\nS: Start a new tournament\nQ: Quit the program"; string menuSetUp = "\nV: View player list\nE: Edit a player\nA: Add player\nD: Delete player\nF: Start the first round\nS: Start a new tournament\nQ: Quit the program";
string menuDuring = "\nV: View player list\nR: View rankings\nE: Edit a player\nN: Enter results and advance to the next round\nS: Start a new tournament\nQ: Quit the program"; string menuDuring = "\nV: View player list\nR: View rankings\nE: Edit a player\nN: Enter results and advance to the next round\nS: Start a new tournament\nQ: Quit the program";
string menuEnd = "\nS: Start a new tournament\nR: View rankings\nV: View player list\nQ: Quit the program"; string menuEnd = "\nS: Start a new tournament\nR: View rankings\nV: View player list\nQ: Quit the program";
...@@ -80,6 +80,9 @@ int main() ...@@ -80,6 +80,9 @@ int main()
case 'Q': case 'Q':
cout << endl << "Closing the program"; cout << endl << "Closing the program";
break; break;
case 'F':
gTournaments[0]->printTables();
break;
default: default:
cout << endl << "Please enter a valid command."; cout << endl << "Please enter a valid command.";
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment