// FILE: card_demo.cpp //this is a demo program to show how the card is used #include // Provides cout and cin #include // Provides EXIT_SUCCESS #include #include #include "card.h" #include "deck.h" using namespace std; int main( ) { srand((unsigned)time(0)); Card c1(); //ace of spades Card c2(7,(Card::Suit) 2); //7 of diamonds Card c3(3, 0); Deck d; d.shuffle(); while( d.size() > 0) cout << d.dealCard() << endl; /* int numCards = 5; vector cards(numCards); //More stuff goes here */ return EXIT_SUCCESS; }