摘要:
思路:用数组存编号,用0表示离开的人,数的时候跳过。 阅读全文
摘要:
1 #include "stdio.h" 2 #include "string.h" 3 int left,chance;//还猜left个字母,错chance次后就会输 4 char s[100],s2[100];//s是答案 ,s2是玩家猜的序列 5 int win,lose;//win=1表示赢了 ,lose=1表示输了 6 7 void guess(char ch) 8... 阅读全文