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
Just use std::random_shuffle found in , like this:
std::random_shuffle
std::random_shuffle(deck, deck + deckSize);
and your deck with be shuffled.