std::vector<std::string>::iterator cmdsplit_it = strsplit(commandstr, ' ', 1).begin();
std::string command = *cmdsplit_it;
cmdsplit_it++;
line 119: idk if this is something you should do, isn't the vector a temporary that goes out of scope as soon as this line is done?
Okay but how to solve that any better?
Nils
Anonymous
Francisco
Dima
Leo