1 #ifndef _CARDCOUNT_INCLUDED
2 #define _CARDCOUNT_INCLUDED
12 CardCount(const CardStack
&cs
);
14 void Init(const CardStack
&cs
);
16 void Add(const CardStack
&cs
);
17 void Sub(const CardStack
&cs
);
19 void Dec(size_t index
);
21 int operator[] (size_t index
) const;
23 CardCount
&operator = (const CardStack
&cs
);
24 CardCount
&operator += (const CardStack
&cs
);
27 int count
[13]; //13 different card values
28 //(ace,2,3,4,5,6,7,8,9,10,J,Q,K)