Hi,
I am trying to make a game where your unit will move to where your mouse is on the screen. I read the MSDN page about console mouse input and I have this code so far:
What I wanted to know was, isnt the COORD statement supposed to record the coordinates of the mouse, and if it does how do you retrieve the coordinates?Code:ENABLE_MOUSE_INPUT; INPUT_RECORD MOUSE_EVENT_RECORD; COORD dwWritePosition;
Thanks



LinkBack URL
About LinkBacks


