初级启示者
#include<stdio.h> //鼠标乱飞加鼠标连点
#include<windows.h>//头文件
#include<cstdlib>
#include<ctime>
int main(){
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
while(1){
if(GetAsyncKeyState(VK_SPACE)){//按下空格,开始执行
while(1){
SetCursorPos(rand()%x,rand()%y);
mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);//当前位置点击一次鼠标
Sleep(50);
if(GetAsyncKeyState(VK_ESCAPE))break; //按esc退出
}
}
}
return 0;
}
中级光能
你(你)真(真)厉(是)害(坏)!(!)
刘承志在2020-10-05 16:19:24追加了内容
我承认我不是人!
刘承志在2020-10-05 16:19:32追加了内容
我承认我不是人!
新手天翼
哎呦我去,不敢惹不敢惹
张天璨在2020-10-05 16:14:25追加了内容
我承认,我不是人,行么?
(不然运行了就得被妈妈打成不是人)
555555555555………………
新手守护
#include<stdio.h> //鼠标乱飞加鼠标连点
#include<windows.h>//头文件
#include<cstdlib>
#include<ctime>
int main(){
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
cout<<"按esc退出";
Sleep(20000);
srand(time(0));
while(1){
if(GetAsyncKeyState(VK_SPACE)){//按下空格,开始执行
while(1){
SetCursorPos(rand()%x,rand()%y);
Sleep(50);
if(GetAsyncKeyState(VK_ESCAPE))break; //按esc退出
}
}
}
return 0;
}
新手守护
#include<stdio.h> //鼠标乱飞加鼠标连点
#include<windows.h>//头文件
#include<iostream>>
#include<cstdlib>
#include<ctime>
int main(){
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
cout<<"按esc退出";
Sleep(20000);
srand(time(0));
while(1){
if(GetAsyncKeyState(VK_SPACE)){//按下空格,开始执行
while(1){
SetCursorPos(rand()%x,rand()%y);
Sleep(50);
if(GetAsyncKeyState(VK_ESCAPE))break; //按esc退出
}
}
}
return 0;
}
新手守护
#include<stdio.h> //鼠标乱飞加鼠标连点
#include<windows.h>//头文件
#include<iostream>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
cout<<"按esc退出";
Sleep(20000);
srand(time(0));
while(1){
if(GetAsyncKeyState(VK_SPACE)){//按下空格,开始执行
while(1){
SetCursorPos(rand()%x,rand()%y);
Sleep(50);
if(GetAsyncKeyState(VK_ESCAPE))break; //按esc退出
}
}
}
return 0;
}