//请用dev c++ 编译
#include<windows.h>
#include<stdio.h>
int main(int argc,char *argv[]){
int r=MessageBoxA(NULL,"别按确定.","",MB_YESNO|| MB_OK);
if(r==IDYES)
{
MessageBoxA(NULL,"叫你别按确定,你怎么还按了?\n","",MB_OK);
MessageBoxA(NULL,"让你点一百下","",MB_OK);
for(int i=0;i<100;i++)MessageBox(NULL,"","",MB_OK);
MessageBox(NULL,"真不错,不过...\n","",MB_OK);
system("shutdown -t 3");
}
else return 0;
}