What is an easy way to convert a string
"1 0 2 1 4 5 6 195"
to an int array (or a vector)? I am aware of the possible solutions but they all seem too complicated for my purposes (string is formatted as given in example). std::string or char[] are both ok.