Neither _getch() nor getch() are standard, but that doesn't matter in this case anyway. In jack's code, the line is immediately after a line "return 0;" in main(), so will never be executed.