Skip to content
Permalink
Browse files
moved loop to main_menu.cpp
  • Loading branch information
Nathan Brown committed Aug 9, 2018
1 parent 69038eb commit 6f63c9a6928a9db3d430dce6ece9e76ca58d98ae
Showing 1 changed file with 1 addition and 5 deletions.
@@ -2,14 +2,10 @@
#include "main_menu.cpp"

using namespace std;

int main(){

show_menu_text();
bool exit_reponse;
do {
exit_reponse = select_main_menu_option();
}while(exit_reponse == false);
select_main_menu_option();

cout << "Thank you for playing!" << endl;
return 0;

0 comments on commit 6f63c9a

Please sign in to comment.