I made a program...
now i have to put one validation.
"while program is executed, if i press "Esc" button (hardly situated in top-left corner) i will be out of my program, means its exicutation directly takes end."
i tried by taking its ASCII value but i requires also ENTER key for ending the exicutation as i have to directly end the program...
i also tried by using "kbhit()" function..
now what should i do for it?