Imagine I have a string like "code,project,bob,vc++" and I have array or vector like vector<string>vec_strings; Is there any function that lets me break the words with "," delimiter and put them into the vector automatically? I prefer to use STL.
Imagine I have a string like "code,project,bob,vc++" and I have array or vector like vector<string>vec_strings; Is there any function that lets me break the words with "," delimiter and put them into the vector automatically? I prefer to use STL.