title: String not working with #include <string> and using namespace std
body: <p>about the code below, string doesn't light up anymore and when I entered "John Smith", only "John" appears, string was working fine for me weeks ago until i tried calling strings function today which didn't work so i tested for a  simpler one.</p>
  
  <pre><code>#include &lt;iostream&gt;        
  #include &lt;string&gt;      
  using namespace std;
  
  int main ()
  {
      string name;          
  
     // Get the user's name
     cout &lt;&lt; "Please enter your first name: "; 
     cin  &gt;&gt; name;
  
     // Print the greeting
      cout &lt;&lt; "Hello, " &lt;&lt; name &lt;&lt; "." &lt;&lt; endl;
  
      return 0;
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/9dhvJ.png" rel="nofollow noreferrer">string doesn't light up like int</a></p>
  
  <p>I might be asking at the wrong place but I cant' tell what's the problem, please help :(</p>