Search:

Type: Posts; User: Denied88

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,680

    Unknown Software Exception

    Hey guys I'm working on a Pythagorean Triple program.

    In my program everything worked and I found all the possible Pythagorean triples below the value 500. Unfortunately I had repeats due to the...
  2. Replies
    12
    Views
    10,466

    int main() { const char *suit[ 4 ] = {...

    int main()
    {
    const char *suit[ 4 ] =
    { "Hearts" , "Diamonds" , "Clubs" , "Spades" };

    const char *face[ 13 ] =
    {"Ace", "Deuce" , "Three", "Four",
    "Five", "Six", "Seven", "Eight",...
  3. Replies
    12
    Views
    10,466

    Well guys, I made a multi-dimensional deck array...

    Well guys, I made a multi-dimensional deck array instead of a card array. My deck array consists of a possible 13 face values and a possible 4 suit values. Because I used a multi-dimensional array...
  4. Replies
    12
    Views
    10,466

    Yeah, I didn't exactly know what darryl was...

    Yeah, I didn't exactly know what darryl was talking about, but I got the general idea. Thanks for the help guys i've got some experimenting to do.
  5. Replies
    12
    Views
    10,466

    So far, I've tried comparing the cards...

    So far, I've tried comparing the cards individually. Unfortunately I've discovered that it would probably take somewhere around 10,000 lines of code to write.

    I think, due to the fact that you...
  6. Replies
    12
    Views
    10,466

    The only way I can think to give the cards values...

    The only way I can think to give the cards values like that is to compare the cards with eachother. I. E.


    if (card 1 = card 2) {
    Then convert to a pair value
    }

    if (card 1 = card 3) ...
  7. Replies
    12
    Views
    10,466

    C++ Newbie Poker Program

    Hello everyone, I currently have created a poker program and just recently due to some help from everyone stopped repeating cards. It deals five cards to you, and after you discard a maximum of...
  8. Replies
    10
    Views
    1,284

    OK, but how can I initialize a boolean Array?

    OK, but how can I initialize a boolean Array?
  9. Replies
    10
    Views
    1,284

    Poker Program Help

    I'm currently working on a poker program, it's an exercise in my Fourth Edition Deitel C++ How to Program book. Everything works properly, but my cards seem to repeat. I don't have any code...
Results 1 to 9 of 9