+ 1
C++ program to print the location of mouse cursor in format (x,y) on the output screen...!?
It should give real-time location
2 Réponses
+ 2
This can be either very low level work, or very easy.
First of all, if you are going to write a plain c++ program, what is the OS? This is os dependant and different on Windows and Unix-based OSes.
If you are using a framework, like Qt, openGL, sdl, gtk, ... they have methods/classes to help you.
0
basically for Windows