I ran into a problem with the program I'm making, where you move a dot around(the one from my last post). I was putting limits so you can't move past the screen, but now I can't move left or up. Right and down still work for me. Can anyone tell what's wrong?
#define ENTER '\r'
#define UP 72
#define DOWN 80
#define LEFT 75
#define RIGHT 77
printf("Use the arrow keys to move the dot, ENTER to quit: ");
gotoxy(xval,yval); /*added this line after finding it was the key*/