Help with getch()
I am having problems getting getch() to work, what i want to do is
at the end of my program ask the user if he wants to start again or quit, this is what i have :-
So what i am saying is if 'e' is pressed it should quit the program,
cout << "Type E to exit or press any other key to continue";
finish = getch();
if (finish == 'e')
// does this need something?
any other key will return to main()
When i enter 'e' it just returns to main() anyway?
Can anyone see a problem?
It just goes to show what you can learn when you mess about with your code...
Thanks anyway guys