title: Splitting a string up into individual words and placing them in a vector
body: <p>I want to be able to place each individual word of the string of any size into a vector. This is what I have so far:</p>
  
  <pre><code>vector &lt;string&gt; broken;
  while(choice != " "){
      int space = choice.find(" ")-1;
      string word = choice.substr(0,space);
      broken.push_back(word);
      choice = choice.substr(space+1);``
      cout &lt;&lt; choice;
  </code></pre>
  
  <p>}</p>
  
  <p>Any help would be greatly appreciated!</p>