Detecting key press using getchar()
When I run the following program
int main()
{
getchar();
return 0;
}
and I press any of the arrow keys like up arrow On the console I get ^[[A
.I want to know what this means .Specifically I want to know what ^[
means.
No comments:
Post a Comment