Hi,
I'm not sure if this is the correct forum to post questions about C++ programming. Please excuse me if this is not.
The program is to randomly draw 5 cards (called a hand) from a 52-card deck. It then has to find out what type (pair, 2 pairs, flush, straight,...) the hand is classified to.
Now I'm stuck at the second part, which is how to find out what is the type of the hand. I have no clue how to find out.
Any C++ savvy here who could help me? Any suggestion would be greatly appreciated.
Thank you.
Trung
I'm not sure if this is the correct forum to post questions about C++ programming. Please excuse me if this is not.
The program is to randomly draw 5 cards (called a hand) from a 52-card deck. It then has to find out what type (pair, 2 pairs, flush, straight,...) the hand is classified to.
Now I'm stuck at the second part, which is how to find out what is the type of the hand. I have no clue how to find out.
Any C++ savvy here who could help me? Any suggestion would be greatly appreciated.
Thank you.
Trung
Comment