And then you don't need getch() to pause anymore; Use Windows to your advantage:
PHP Code:
void Pause()
{
     while (!
Keypress(input)) {};