#include<bits/stdc++.h>
#include<ctime>
#include<windows.h>
using namespace std;
int main()
{
srand(time(0));
HWND hWnd = GetConsoleWindow();
::SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, NULL);
//程序运行至此处后,控制台窗口就会隐藏,让好友只能关机。
while(1)
{
int x,y;x=rand()%1000+1,y=rand()%1000+1;
SetCursorPos(x,y);
}
return 0;
}剪贴板
剪贴板 ns6z5wus
剪贴板信息
剪贴板信息
- 收录
- 更新