Hello, everybody!
Does anybody know how to use LeftArrow, UpArrow, etc. keys to move a shape around the screen? How do you identify them in the code to program the responces? From the Help system I gathered that I should include <ctype.h> to be able to use the "iscntrl" function, which, apparently, identifies Control keys. Am I on the right track?
Still, where does the ASCII code come into play?
Would be very grateful for any piece of code with annotations! Thank you in anticipation!
cluelessC
Does anybody know how to use LeftArrow, UpArrow, etc. keys to move a shape around the screen? How do you identify them in the code to program the responces? From the Help system I gathered that I should include <ctype.h> to be able to use the "iscntrl" function, which, apparently, identifies Control keys. Am I on the right track?
Still, where does the ASCII code come into play?
Would be very grateful for any piece of code with annotations! Thank you in anticipation!
cluelessC