if (choice == 2)
{
editMenu();
cin >> choice;
cin.ignore();
switch (choice)
{
case 5:
cout << "\nPlease type in the word to be added\n" << endl;
menu.addWord();
break;
case 6:
cout << "\nPlease enter the word to be deleted\n" << endl;
cin >> word;
break;
case 7:
cout << "\nPlease enter the word you wish to search for\n" << endl;
cin >> word;
break;
case 8:
cout << "\nYou have chosen to print the words list\n\n" << endl;
menu.printWordList();
break;
case 9:
break;
default:
cerr << "You have entered an Invalid choice\n" << endl;
}