Update fixed menu
This commit is contained in:
Binary file not shown.
@ -2,6 +2,10 @@
|
||||
|
||||
int main(int argc, char const *argv[])
|
||||
{
|
||||
|
||||
|
||||
while(true)
|
||||
{
|
||||
// 1 print help
|
||||
std::cout << "1: Print help" << std::endl;
|
||||
// 2 print exchange stats
|
||||
@ -52,10 +56,11 @@ int main(int argc, char const *argv[])
|
||||
std::cout << "Your wallet is empty. " << std::endl;
|
||||
}
|
||||
|
||||
if(userOption == 0) // bad input
|
||||
if(userOption == 6) // bad input
|
||||
{
|
||||
std::cout << "Going to next time frame. " << std::endl;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user