Name: Anonymous 2006-11-06 20:42
So I need to split a c++ string object based on some delimiters. what strtok() does on c-strings is basicaly what I need to do. I was looking at the stringstream class and was thinking I could use that, but input is always split on whitespace and I can't find a way to tell it my own delimiters.
Besides just calling c_str() and using strtok, how can I easily get it's equilivant?
Besides just calling c_str() and using strtok, how can I easily get it's equilivant?