title: String not working with cin!
body: <p>I'm having an issue with my simple Hello World code.</p>
  
  <p>I'm not able to <code>cin</code> my name. It says no defined operator ">>" Can someone help please. Below is my code.</p>
  
  <pre><code>  #include &lt;iostream&gt;
    using namespace std;
  
     int main()
     {
         int x;
         string name;
         cout&lt;&lt; "enter name:";
         cin&gt;&gt; name;
         cout&lt;&lt; "Hello "&lt;&lt; name &lt;&lt;endl;
  
  
  
         system("Pause");
      }
  </code></pre>