title: String doesn't save spaces?
body: <p>I am making something where you have to put your name but my string doesn't save the spaces, why?</p>
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  string name;
  int main()
  {
    cout&lt;&lt;&quot;&lt;System&gt;: Please enter your name&quot;&lt;&lt;endl;
    cin&gt;&gt;name;
    cout&lt;&lt;name;
  return 0;
  }
  </code></pre>
  <p>I entered:</p>
  <blockquote>
  <p>Test 123</p>
  </blockquote>
  <p>And I got:</p>
  <blockquote>
  <p>Test</p>
  </blockquote>