./c0de/c/locatemouse.txt

0.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
/*
Finds mouse coor-X-Y
 
LogicKills
 
*/
 
 
#include <windows.h>
#include <stdio.h>
int main()
{ 
    int x,y = 0;
    while(1){
        Sleep(10);
        POINT cursorPos;
        GetCursorPos(&cursorPos);
        x = cursorPos.x;
        y = cursorPos.y;
        system("cls");
        printf("X:%d\n",x);
        printf("Y:%d",y);
        }
 
        return 0;
}
 

Back