When we press arrow key.Then do we get two ascii values corresponding to one arrow key???
If we enter any arrow key in program from above code.We'll get 0 once and scan code in next getch().Why???Code:int main() { ch=getch();cout<<ch; ch+=getch(); cout<<ch; return(0); }



LinkBack URL
About LinkBacks



CornedBee