I\'m fairly new to C++ and don\'t quite understand function parameters with pointers and references. I have an array of Cards that I want to shuffle using the Fisher-Yates
You could also use
std::random_shuffle(deck, deck + deckSize)
which does Fisher-Yates for you.
However, there probably aren't enough bits in the standard random libraries to genuinely choose from all possible random permutations of cards.