不过mc33035毕竟是以前的老控制器了,现在芹李还是自己网上购买个控制器便宜
功能更加强大了
#include <stdio.h>#include <string.h>
int main(int argc,char *argv[])
{
char key[5]
int count=0
printf("输入字符串数氏\n")
gets(key)
if ((strcmp(key,"DGIT"))==0)
printf("Now,you can do something\简毕汪拦仔n!")
else
printf("Invalid password.Try again!\n")
count++
gets(key)
for (count=1strcmp(key,"DGIT")!=0&&count<3count++)
{
printf("Invalid password.Try again!\n")
gets(key)
}
if (count<4)
printf("Now,you can do something\n!")
else
printf("I am sorry,bye-bye!\n")
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)