is their is any graphics function that will tell us the postiton of the pointer at that time i now about getx() but it is giving only 0 in all the condition
graphics function to tell the postiton of the pointer
Collapse
X
-
If you are talking about where is the mouse cursor and you are programming in MSDOS, you need yo look into the software interruption 0x33, or INT H033, that means you need to embed some assembler code inside your C code.
If you are using Win32, you use GetCursorPos( ).
If you are talking about the current text position (where the blinking thing is), I think you need to use the software interruption 0x10 in MSDOS, or look into the Caret set of functions if using Win32.Comment
Comment