2.[mw_shl_code=cpp,true]
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main(){
char word[100];
HWND hwnd=FindWindow("ConsoleWindowClass",NULL);
int t=0;
for(t=1;t<=100;t++){
sprintf(word,"你中招了!请点击100次,当前是%d次",t);
MessageBox(hwnd,word,"都怪邀请码",MB_OK);
}
printf("你真有毅力,我和你交朋友!\n");
system("pause");
return 0;
}
[/mw_shl_code] |