How to change an array with a function?
<p>I'm quite new to C++ and I've ran across a problem.<br>
I'm trying to write a game of Blackjack. I have an array of size 52 of type 'char' with the different cards and I want to shuffle it. I'm not sure how but that's not the problem. I made a function called 'ShuffleDeck' but it doesn't work, says it can't return an array. I can't reference the array either. How should I go about this? Here's the part of code I'm talking about.</p>

<pre><code>void ShuffleDeck(bool &amp;rgCards[]) {
    for (int i = 1; i &lt; 52; ++i) {
        //something
    }
    return rgCards[];
}
</code></pre>

<p>All help appreciated.</p>
