ayush_chh
Ambassador of Buzz
hi guys!
How can i use multiple keys in C? i am doing a graphics project. my aim is to move an object from one place to other. for moving to left, right, up and down we can use directional keys. this i have already achieved.
Now i want to move the same object in diagonal direction using multiple keys.
For Eg.:- if i press left and up arrow keys together the object should move to top left corner.
Note:- If the query is not clear then pls reply. do not ignore. Pls help me.
How can i use multiple keys in C? i am doing a graphics project. my aim is to move an object from one place to other. for moving to left, right, up and down we can use directional keys. this i have already achieved.
Now i want to move the same object in diagonal direction using multiple keys.
For Eg.:- if i press left and up arrow keys together the object should move to top left corner.
Note:- If the query is not clear then pls reply. do not ignore. Pls help me.