Everybody, getch() is not portable. I think it's as bad as system("PAUSE"). Use getchar() instead, it's simple, portable and doesn't need any external shell.

Also, follow this thread for a...