Search:

Type: Posts; User: SirZombieton

Search: Search took 0.01 seconds.

  1. Just curious, why wouldn't #define CARDS 5 work?

    Just curious, why wouldn't #define CARDS 5 work?
  2. But how would I make it out put 5 cards in each...

    But how would I make it out put 5 cards in each hand?
  3. Euchre program only printing out Heart suit

    I'm supposed to make a euchre program in C. However, when I try running it the output is the following:

    Nine of Hearts
    Ten of Hearts
    Queen of Hearts
    Ace of Hearts

    Jack of...
  4. My teacher finally gave me a hint and will give...

    My teacher finally gave me a hint and will give no more:

    1. You don't need to deal all of the cards in the deck array. You only need to deal the first five cards. Leave all the other values in ...
  5. I start cards from 20 because it outputs 5 cards....

    I start cards from 20 because it outputs 5 cards. Unless I should output 24 cards first, then make it to randomly choose 5 of them to put in the hand. Does that sound right?
  6. Gotcha, but I'm confused as to how that would...

    Gotcha, but I'm confused as to how that would help my issue with only display "A Jack has been found!" once when at least one jack is in the hand
  7. What do you mean deck is "empty"? And are you...

    What do you mean deck is "empty"? And are you saying if I figure out how to properly shuffle that could help?
  8. For hand[this][that] I saw that poker programs...

    For hand[this][that] I saw that poker programs written in C had it so I figured that it could help.

    The outer loop part I meant to put k = 0 not 5, but it still doesn't do anything. I figured...
  9. Display if a specific card is in the hand

    I'm supposed to code a program for a Euchre card game. The code was from the book, my teacher wanted us to do the following:




    Modify card_shuffle_deal.c to only contain cards with face...
  10. Replies
    4
    Views
    480

    I understand what it does, did I not put it in...

    I understand what it does, did I not put it in correctly though?
  11. Replies
    4
    Views
    480

    Homework for Random Generator

    For homework I am tasked with making a random generator that gives a different outcome whenever it is executed using function prototypes, switches, and enum. I tried everything I could, but the...
Results 1 to 11 of 11