You may want a string splitting function. This question on Stack Overflow should give you some ideas. I would suggest that you adapt this response to split based on a deliminator such as '/'. You would just convert the string to the correct type instead of returning a std::vector of strings. Or take the std::vector of strings and convert those as needed. You have options is all I'm saying.
nobodynewsMember Since 30 Dec 2000
Offline Last Active Yesterday, 08:56 PM