Converting char array into a string
<p>I am making a hangman game. I have two char arrays and I need to check if they are equal.</p>

<p>One of them has letters and underscores: <code>char checkLetter[]</code></p>

<p>The other one has only letters: <code>char currentWord[]</code></p>

<p>Eventually, after the user has guessed all the words in the checkLetter[] array it will also consist of only letters. But I need to keep continually checking (in a boolean method) if the array into which they guess and their letters get stored, is the exact same as the word they are trying to guess.</p>

<p>If I could convert both of the arrays into strings then I could check them for equality. I am not experienced, and I don't know how to do this. Any help help would be appreciated!</p>
