Question: int main ( ) { Tester v 2 Test; Console::ResizeWindow ( 1 5 0 , 3 0 ) ; HeroesDB heroDB; int menuSelection = 0

int main()
{
Tester v2Test;
Console::ResizeWindow(150,30);
HeroesDB heroDB;
int menuSelection =0;
std::vector menuOptions{"1. Sort by Name (descending)","2. Sort By","3. Find Hero (Binary Search)","4. Print Group Counts", "5. Find All Heroes by first letter", "6. Remove Hero", "7. Exit" };
std::vector sortByOptions {"1. Intelligence", "2. Strength", "3. Speed", "4. Durability", "5. Power", "6. Combat" };
do
{
Console::Clear();
menuSelection = Input::GetMenuSelection(menuOptions);
Console::Clear();

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!