#include #include "carddeck.h" using namespace std; int main() { Deck d1(4); // build a deck out of 2 standard 52-card decks d1.Dump(); // check the output dump d1.Shuffle(); // now shuffle the deck d1.Dump(); // now what does the deck look like? { Deck d2 = d1; // what am I doing here -- this calls copy cosntructor d2.Dump(); } // d2 now out of scope -- gets destroyed d1.Shuffle(); d1.Dump(); // will this work? cout << "First card is: " << d1.DealCard() << '\n'; }