C++ how to put an input string from stdio into a vector, one word per container element
<p>I'm learning c++, and I'm a bit of a newbie. I've researched this question quite a bit. I've studied vectors, strings, and stringstreams in c++ but I still can't find the 'right' way to do this.</p>

<p>Basically, I want to write, "some text" at the command line and have "some" put into a vector container at position '0' and "text" put into the same container in position '1'.</p>

<p>I've found a lot of ways that sorta work, but nothing that just does that. </p>

<p>Thanks for the help.</p>
