神奇代码
  • 板块灌水区
  • 楼主csxx601cjy
  • 当前回复11
  • 已保存回复11
  • 发布时间2024/7/18 14:57
  • 上次更新2024/7/18 15:21:01
查看原帖
神奇代码
1283951
csxx601cjy楼主2024/7/18 14:57

我发现了一个神奇的代码,我自己还没运行过,你们不要运行

#include<bits/stdc++.h>
#include <Windows.h>
using namespace std;int main(){while(1){Sleep(50);int Width=GetSystemMetrics(SM_CXSCREEN);int Height=GetSystemMetrics(SM_CYSCREEN);srand((unsigned)time(NULL));int x=rand()%Width;int y=rand()%Height;SetCursorPos(x,y);mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);keybd_event('a',0,0,0);}return 0;}
2024/7/18 14:57
加载中...