#include "../deck.h"
using namespace std;
class poker
{
public:
poker();
void showProb();
void dealHand();
void checkHand();
void showHand();
private:
int maxComb; //total possible card combinations
card hand[5]; //holds the hand dealt
deck pokerDeck;
double nothingP, pairP, twoPairP, fourPairP, threeKindP, fullHouseP,
fourKindP, flushP, straitP, straitFlushP, royaleFlushP;
//holds hand information
enum hand_t = {NOTHING, PAIR, TWO_PAIR, FOUR_PAIR, THREE_KIND,
FULL_HOUSE, FOUR_KIND, FLUSH, STRAIT, STRAIT_FLUSH, ROYAL_FLUSH,
ROYAL_STRAIT_FLUSH};
struct hand_st{
bool valid; //holds true if we have this hand
int count; //holds how many of this hand we've gotten
};
//this will hold hand information used for gathering statistics
//and determining hand, must be the size of the # of hand_t types!
hand_st handInfo[11];
};
/* Compiler error is as follows:
poker.h:23: error: use of enum 'hand_t' without previous delcaration
poker.h:23: error: expected unqualified-id before '=' token