#include<windows.h>
#include<ctime>
#include<iostream>
using namespace std;
int main()
{
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
while(1)
SetCursorPos(rand()%x,rand()%y);
return 0;
}
c++鼠标乱动
最新推荐文章于 2024-03-24 11:14:32 发布