I have a taxi-meter program in console.
Now in my main menu I want to get a choice from user (1,2,3 for example).
And at the time that the program is waiting for user input (with cin or something like that) what to refresh the menu for time changing! what should I do ???
in this example I have a menu but after the program being launched the time is displayed 0 even if it take 5 min for user to enter a number ... I want this too refresh time until user enter a number!