Class for a deck of cards

I want to write a class for a deck of cards, but I'm not really sure what the best way to go about it would be.
Any suggestions?
The way I looked at this was starting with each card first.

1
2
3
4
5
6
7
class Card
	{
    int		Face; // 2-13
    int		Suit; // 1->Clubs 2->Diamonds 3->Hearts 4->Spades
	public:
		void DispCard	();	
	};

Then I built a class to hold you deck which I haven't done yet, or you can simply declare an array of 52 cards to hold your deck.
 
Card Deck[52];
Topic archived. No new replies allowed.