KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a string that I would like to tokenize. But the C strtok() function requires my string to be a char* . How can I do this simply? I tried: token = strtok(str.c_str(), " "); which fails because it turns it into a const char* , not a char*
Tags (comma-separated)
Save Edits
Cancel