We already have a Deck array and two operations in it InitializeDeck()andPrintDeck(). We now also have a Shuffled structure. We need to add operations to perform on it, such asInitializeShuffled()andPrintShuffled(). To this set of operations, we would add theShuffleDeck()function. The function prototypes for these would be as follows:
void InitializeShuffled( Shuffled* pShuffled , Deck[] pDeck );
void PrintShuffled( Shuffled* pShuffled );
void ShuffleDeck( Shuffled* pShuffled );
The InitializedShuffled()method isa bit different from InitializeDeck() because the function needs to know aboutDeckwhen we initialize our array of pointers. At this point, you might be wondering whetherDeckand its operations aresomehow very closely related toShuffledand its operations. The fact is, they are. We will combine both theDeckandShuffleddata structures as well as these operations in the final version of thecarddeck.cprogram. Before...