#include
#include
#include
#include
int main()
{
//S:黑桃H:红心C:草花D:方块
char suits[] = {'S', 'H', 'C', 'D'};
//等级
char ranks[] = {'2','3','4','5','6','7','8','9','t','J','Q','K','A'};
int n;//产生几张牌
printf("你要必张牌:");
scanf("%d", &n);
srand(time(NULL));
//这个命令哪里用了?
bool f[4][13] = {false};
int i;
for(i=0; i#include #include #include int main(){//S:黑桃H:红心C:草花D:方块char suits[] = {'S', 'H', 'C', 'D'};//等级char ranks[] = {'2','3','4','5','6','7','8','9','t','J','Q','K','A'};int n;//产生几张牌printf("你要必张牌:");scanf("%d", &n);srand(time(NULL));
//这个命令哪里用了?产生随机数前的播种,用... |