Hi all,
How can make the output not to repeat again for many players. here is part of code.
struct
{
int face;
unsigned int value;
}
card[13] =
{ {'2', 2},{'2', 3},{'2', 4},
{'5', 5},{'6', 6},{'7', 7},
{'8', 8},{'9', 9},{'X', 10},
{'J', 13},{'Q', 12},{'K', 11},
{'A', 1}
};
char suit[4]={'D','C','H','S'};
ex of output is (1 player): D9 ,H2,SQ....
(2 player) : CX,H8,D9...
D9 came to second time again!!! pls help me :eek: