fish.c | 62 #define CARDS 4 63 #define TOTCARDS RANKS * CARDS 69 static const char *const cards[] = { variable in typeref:typename:const char * const[] 73 #define PRC(card) (void)printf(" %s", cards[card]) 164 (void)printf("%d cards in my hand, %d in the pool.\n", 183 for (p = cards; *p; ++p) 190 n = p - cards; 203 (void)printf("You don't have any %s's!\n", cards[n]); 221 } while (!comphand[lmove] || comphand[lmove] == CARDS); 225 (void)printf("I ask you for: %s.\n", cards[lmove]) [all...] |