Add a static ShowHighScores method to your HighScore class. It should have a vector const ref parameter. It should print a “High Scores” title then loop over the high scores vector and print each item…
Add a static ShowHighScores method to your HighScore class. It should have a vector const ref parameter. It should print a “High Scores” title then loop over the high scores vector and print each item.
NAME RETURNS PARAMETERS
ShowHighScores nothing vector const reference
In case 2 of the menu switch in main in CardWars.cpp, call the ShowHighScores method and pass the vector of highscores.
Format the output so that the score has a color different than the name.
OR