title: Problems with " invalid conversion from 'const char*' to 'char' [-fpermissive]"
body: <p>I just started learning c++ and I'm having an issue with "invalid conversion from 'const char*' to 'char' [-fpermissive]" in my source code.  </p>
  
  <pre><code>    const string alphabet = "abcdefghijklmnopqrstuvwxyz";
      string gameAlphabet = alphabet;
  
      char letterguess;
      int limbnumber = 0;
  
      do
      {
          cout &lt;&lt; "Please choose a letter: ";
          cin &gt;&gt; letterguess;
          cout &lt;&lt; letterguess;
  
          if (theWord.find(letterguess) == string::npos)
          {
              int temp2 = theWord.find(letterguess);
              theWord[temp2] = letterguess;
              int temp3 = gameAlphabet.find(letterguess);
              if (gameAlphabet[temp3] = " ")
              {
                  cout &lt;&lt; "You have already guessed this letter, please try again.";
              }
              gameAlphabet[temp3] = " ";
              cout &lt;&lt; gameAlphabet;
          }
          else
          {
              limbnumber++;
              int temp1 = gameAlphabet.find(letterguess);
              gameAlphabet[temp1] = " ";
  
              if (limbnumber == 7 )
              {
                  cout &lt;&lt; "\n\nSorry " &lt;&lt; playername &lt;&lt; ", you lose.";
                  cout &lt;&lt; "Please try again.";
              }
  
          }
  </code></pre>
  
  <p>The "invalid conversion from 'const char*' to 'char' [-fpermissive]" occurs in lines 19, 23 and 30.  If you guys can see any mistakes I've made, let me know. Thanks! </p>