Is there a c function that automatically detects a keypress.. that at once i can print it using outextxy() function once the key is pressed?