without using getch try with getchar...surely it will work