title: c++ no suitable conversion function from "std::string" to "const char*" exists
body: <p>the question as the title suggests, is an error when i was executing my program in the certain part of the password function. actually it is a basic password function which was working properly in turbo c++, but in visual c++
  this error arrives </p>
  
  <pre><code>void user::password()
   {
    char any_key, ch;
    string pass;
    system("CLS");        
    cout &lt;&lt; "\n\n\n\n\n\n\n\n\t\t\t\t*****************\n\t\t\t\t*ENTER 
              PASSWORD:*\n\t\t\t\t*****************\n\t\t\t\t";
    start:
    getline(cin,pass);
     if (strcmp(pass, "sha") == 0)           //this is where the error is!*
      {
         cout &lt;&lt; "\n\n\t\t\t\t ACCESS GRANTED!!";
         cout &lt;&lt; "\n\t\t\t PRESS ANY KEY TO REDIRECT TO HOME PAGE";
         cin &gt;&gt; any_key;
      }
     else
      {
         cout &lt;&lt; "\n\t\t\t\t ACCESS DENIED :(,RETRY AGAIN!!\n\t\t\t\t";
         goto start;
      }
    system("CLS");
    }
  </code></pre>