title: Sentence into word c++ string
body: <p>How to break down a sentence of string  type into words and store it in a vector of string type in c++?
  Example</p>
  
  <pre><code>String str="my name";
  </code></pre>
  
  <p>Into</p>
  
  <pre><code>Vector word={" my","name"}
  </code></pre>