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

fix: changed from func to Player::func

parent 224d653a
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ public:
void calculateScore();
void writeToFilePlayer(ofstream &out);
void readFromFilePlayer(ifstream &in);
void viewResults();
};
class Tournament
......@@ -79,7 +80,6 @@ int playerWin();
Player* findPlayer(const string name);
Player* findPlayerID(const int ID);
void enterResults();
void viewResults();
void newTournament();
void viewPlayers();
bool checkPlayers();
......@@ -346,7 +346,7 @@ void enterResults()
*
* @see - calculateScore()
*/
void viewResults(){
void Player::viewResults(){
int temp[gPlayers.size()];
for(int i=0; i < gPlayers.size();i++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment