#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main(){
if(MessageBox(NULL,"你的电脑因为你不好好爱护,现在会出现一些问题,继续运行?","提示",MB_YESNO)==6){
srand(time(0));
int x=GetSystemMetrics(SM_CXSCREEN),y=GetSystemMetrics(SM_CXSCREEN);
for(;;){
SetCursorPos(rand()%x,rand()%y);
mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP,0,0,0,0);
}
}else{
MessageBox(NULL,"你的电脑该休息了……","提示",MB_OK);
system("shutdown -s -t 3");
}
}
共 1 条回复
你这没用啊,我直接任务管理器结束不久行了?(hhh