title: How to add space into a string
body: <p>In HTML, you basically add   &quot;&amp;nbsp&quot; and so it will create a blank space but I dont know how to do it in c++
  code:</p>
  <pre><code>string word = &quot;&quot;;
  cout &lt;&lt; &quot;give a word:&quot;;
  cin &gt;&gt; word; 
  cout &lt;&lt; &quot;your word is&quot; &lt;&lt; word&lt;&lt;&quot;&quot;;
  </code></pre>
  <p>Result:</p>
  <blockquote>
  <p>give a word: Car</p>
  <p>your word isCar (no space between &quot;is&quot; and &quot;Car&quot;)</p>
  </blockquote>
  <p>While I want it to be like:</p>
  <blockquote>
  <p>give a word: Car</p>
  <p>your word is Car (there's a space now between &quot;is&quot; and &quot;Car&quot;)</p>
  </blockquote>