Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

The menu does nothing so it's not needed #12

Closed
ziobron opened this issue Feb 1, 2019 · 1 comment
Closed

The menu does nothing so it's not needed #12

ziobron opened this issue Feb 1, 2019 · 1 comment

Comments

@ziobron
Copy link

ziobron commented Feb 1, 2019

do {
menuShow();
cin >> option;
switch (option) {
case MENU_SHOW :
cout << "Show students list" << endl;
break;
case MENU_NEW_STUDENT :
cout << "Add new student" << endl;
break;
case MENU_NEW_EMPLOYEE :
cout << "Add new employee" << endl;
break;
case MENU_SEARCH_NAME :
cout << "Search by last name" << endl;
break;
case MENU_SEARCH_PESEL :
cout << "Search by PESEL" << endl;
break;
case MENU_REMOVE_PESEL :
cout << "Remove by PESEL" << endl ;
break;
case MENU_MODIFY_PESEL :
cout << "Modify emplyee by PESEL" << endl;
break;
case MENU_SORT_SALARY :
cout << "Sort by salary" << endl;
break;
case MENU_SORT_PESEL :
cout << "Sort by PESEL" << endl;
break;
case MENU_SORT_NAME :
cout << "Sort by last name" << endl;
break;
case MENU_EXIT :
cout << "Exit (save to file)" << endl;
break;
default :
cout << "Unknown option " << option << "!" << endl;
break;
}
cout << endl;
} while (option != MENU_EXIT);

@jzych
Copy link
Owner

jzych commented Feb 4, 2019

Resolved in f943623

@jzych jzych closed this as completed Feb 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants