#include<windows.h>
#include<stdio.h>
int main()
{
POINT curpos;
while (1);
{
GetCursorPos(&curpos);
printf("x:%d,y:%d", curpos.x, curpos.y);
Sleep(300);
printf("\n");
}
}
There are currently 11 posts.