Jul 7, 2009 at 9:40am
I want to split a path into the filename and the directories.
I have tried to sscanf but i cant figure out how to set and forward slash as a white space
sscanf("%*s/%s.%s", path);
Jul 7, 2009 at 9:55am
std::string::rfind() and std::string::substr().
Jul 7, 2009 at 5:35pm
thanks helios, i can now carry on with my projects thanks to you!