24 lines
519 B
C
24 lines
519 B
C
#ifndef lint
|
|
static char sccsid[] = "@(#)table.c 1.1 94/10/31 SMI"; /* from UCB 1.1 04/01/82 */
|
|
#endif
|
|
|
|
# define DEBUG
|
|
|
|
# include "mille.h"
|
|
|
|
main() {
|
|
|
|
reg int i, j, count;
|
|
|
|
printf(" %16s -> %5s %5s %4s %s\n", "Card", "cards", "count", "need", "opposite");
|
|
for (i = 0; i < NUM_CARDS - 1; i++) {
|
|
for (j = 0, count = 0; j < DECK_SZ; j++)
|
|
if (Deck[j] == i)
|
|
count++;
|
|
printf("%2d %16s -> %5d %5d %4d %s\n", i, C_name[i], Numcards[i], count, Numneed[i], C_name[opposite(i)]);
|
|
}
|
|
exit(0);
|
|
/* NOTREACHED */
|
|
}
|
|
|