strcpy (&tstr[0], str); strings strs; char *s = strtok(&tstr[0], del); while(s != NULL) { strs.push_back(s); s = strtok(NULL, del); }
確定! 回上一頁