Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #36.9K
i have this function for dealing cards in card game. it is working fine, but i cant figure out how to pass a variable in it. Here is what i mean: This function will deal 5 card. but the user should have the option to change 1 or multiple cards … |
|
ok.. so im trying to make a function to find a par of cards with the same suit value for a game of 5 card poker. Here is what i have so far: my main: [CODE] int main (void) { /* initialize suit array */ const char *suit[4] = {"Hearts", … |