The problem is that you're combining C and C++ so the result are going to be irregular. Either use the C version of cin (scanf) or the C++ version of getch (cin.getchar() I believe, haven't looked it up).
Good luck
__________________
"Don't believe everything you read on the internet. Except this. Well, including this, I suppose." -- Douglas Adams
|