Hi, this might be of some interest to you:
http://cs.stmarys.ca/~e_brooks/strtok.cpp
A robust splitting function, along the same lines as you have used.
You could improve on it by templating it to take std::basic_string< char > or std::basic_string< wchar_t >.
http://cs.stmarys.ca/~e_brooks/strtok.cpp
A robust splitting function, along the same lines as you have used.
You could improve on it by templating it to take std::basic_string< char > or std::basic_string< wchar_t >.