鼠标乱跳C++

MURDER (亚历山大) 2021-07-29 16:56:25 2

#include<windows.h> #include #include 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;

}

{{ vote && vote.total.up }}