#include #include #define CARDS 53 #define SUITLEN 10 typedef struct card { char *suit; int number; char *name; } Card; void initialize(Card c[]) { static char *suits[] = { "ハート", "スペード", "ダイヤ", "クラブ", "ジョーカー" }; static char *numbers[] = { "JOKER", "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" }; int s, n, i; for (i=0; i