Monday, April 30, 2012

Parse a string by whitespace into a vector

Suppose I have a string of numbers



"1 2 3 4 5 6"


I want to split this string and place every number into a different slot in my vector. What is the best way to go about this





No comments:

Post a Comment