@随机的旋律#include "stdafx.h"
#include <iostream>
#include <windows.h>
#include <mmsystem.h>
#pragma comment(lib, "WINMM.LIB")
#define S2 Sleep(2000)
using namespace std;
int main()
{
cout << "啊哈哈哈哈哈哈哈,该电脑将在十分钟后关机!" << endl;
S2;
cout << "(别不信啊,不信你放他十分钟,看他关不关!)" << endl;
S2;
cout << "(解除方法是win+R,然后打开cmd,输入shutdown -a(注意有空格))" << endl;
PlaySound((LPCWSTR)"hhw.wav", NULL, SND_FILENAME | SND_ASYNC | SND_LOOP);
S2;S2;
system("shutdown -s -t 600");
getchar();
}