Hey guys, I was using a switch statement for a menu so when the user entered a number from the menu that action was taken. The last option in the menu when pressed just said thanks for using the program then it would say press any key to continue.
Although for some reason this wouldn't be displayed after another option was chosen from the menu (it would just display some information from the last menu option the user had entered) so I had to use the exit(0) function.
I was just wondering why the first method didn't work?
Thanks in advance.