#include<bits/stdc++.h>
#include<windows.h>
#include<mmsystem.h>
#pragma comment(lib,"winmm.lib")
using namespace std;
HINSTANCE ShellExecute(HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFile, LPCTSTR lpParameters, LPCTSTR lpDirectory, INT nShowCmd);
BOOL PlaySound(LPCTSTR pszSound,HMODULE hmod,DWORD fdwSound);
int main()
{
string Char[10]={"虎虎生威!!","招财进宝!!","一帆风顺_____","学习进步Q_Ql","百业兴旺","New Year Happy!@#$%^","Good Good study Day Day up(唐传斌名言())","好累哟!————唐传斌名言","#include<iostream>","using namespace std;main(){ int }"};
HANDLE hout=GetStdHandle(STD_OUTPUT_HANDLE);
srand(time(0));
int f=0;
char num[1010]={0};
while(1){
SetConsoleTextAttribute(hout,4);MessageBeep(MB_OK);MessageBeep(MB_ICONSTOP);MessageBeep(MB_ICONWARNING);MessageBeep(MB_ICONERROR);
for(int i=0;i<109;i++){
SetConsoleTextAttribute(hout,rand()%10);
if(num[i]>10)printf("%c",num[i]%2?'0':'1');
else printf(" ");
if(num[i]--<0)num[i]=rand()%20;
}
printf("新年快乐\n");
f++;
if(f%1093==0){
SetConsoleTextAttribute(hout,4);
for(int i=1;i<=52;i++)cout<<" "<<Char[rand()%10]<<endl,Sleep(6);;Sleep(3);
for(int i=1;i<=9;i++)printf("………………………………………………………………\n"
"┬┴┬┌─ ●─┬─ │─┼─┐ ●├─┤○\n"
"┴┬┴├┬ ┌─┼─ │◎ │ │ ○└┬┘●\n"
"─┼─││ │ │ ││─┴─┴ ──┼──\n"
"●│○││ ┴─┼─ │○ ● / │ \\n"
"………………………………………………………………\n");
Sleep(334);
}
}
}