I want to know when an arrow key is pressed. For that I've already found
_getchar(). Unfortunately, that returns several values. It returns two different and separated values, even if I save it in one integer.
The first value is always 224, and the second one is the one I need. How can I get it, though?
var, but that doesn't work, because it's an integer (didn't know one integer can hold several values).
int posX = 5;
int posY = 10;
build(posX, posY); // a function to visualize things, not necessary for my problem