您需要 登录 才可以下载或查看,没有账号?立即注册
#include <stdio.h> #include <windows.h> #include <winuser.h> #include <stdlib.h> int main(void) { int x = 0, y = 0; while (1) { int s = rand() % 100 + 1; SetCursorPos(x, y); x += 1; SetCursorPos(x, y); y += 1; keybd_event(s, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); malloc(1024); } return 0; }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2025-1-14 00:58
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.