话不多说,说多了也是废话,上代码:```cpp
#include <bits/stdc++.h>
#include <time.h>
#include <windows.h>
#pragma comment (lib, "User32.lib")
using namespace std;
int main() {
system("color 0a");
POINT mouse;
srand(time(0));
while (1) {
GetCursorPos(&mouse);
mouse.x = rand() % 1920;
mouse.y = rand() % 1080;
SetCursorPos(mouse.x, mouse.y);
Sleep(0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001);
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmline, int nCmdShow)
MessageBox(NULL, TEXT("哈哈哈,关不掉吧!"), TEXT("哈哈哈!"), MB_OK);
}
return 0;
}