Im stuck with my project. I have no idea how to begin this project.
I need to write a function that shuffles say for example a deck of cards. which is represented by an array of 52 elements.
Every element in the array is a structure for one card like this
typedef struct
{
char *suite; //clubs, diamonds, hearts, spades
int value; // ace 1-9, then jack, queen, king
}
typedef CARD DECK[52]
but i need to use a random number in the range of 0-51 to ensure that each shuffle results in a different card sequence