yes i could probablly sit down and write some ugly loop to split a string into individual words, however im interested in knowing if there is a more elegent way to do what i want.
string s1 = "hello my name is bob";
vector<string> v1;
the end result im looking for is something like
v1[0] = "hello"; v1[1] = "my"; v1[...] = ...;
can i take this and dump it into a vector of strings, or pipeing it somehow like s1 >> s2; or anything like that. ya i know it wont work but im just kinda pulling ideas out of my ass. im a perl monk and i miss my split and foreach functions =P