I want to take input from the user and check if the user gave up arrow key as the input. I have tried getch function but it only allows user to input a character. I want that user may input up/down arrow key or any string containing more than one characters. Later I wish to check if the user gave up/down key as input or some other string. Please help.