This has been working fine on my system, but refuses to compile on a server that I've uploaded it to.
printf("Press <ENTER> to Continue\n\n");
while(getch() != 0x0d);
The error message that I get is: undefined reference to 'getch'
Any idea how to define getch and get this to compile?