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