strtok() is a Standard C (ISO 9899:1989) function for splitting a string in tokens.
Or rather, how does strtok produce the string to which it's return value points? Does it allocate memory dynamically? I …
c free strtokCan anyone explain why I am getting segmentation fault in the following example? #include <stdio.h> #include <…
c segmentation-fault strtokI am trying to tokenize a string but I need to know exactly when no data is seen between two …
c strtokLet's say I have string sentence{"Hello how are you."} And I want string sentence to have "how are you" …
c++ string stringstream strtokwhat I want to do is given an input string, which I will not know it's size or the number …
c tokenize strtokLet's say I'm using strtok() like this.. char *token = strtok(input, ";-/"); Is there a way to figure out which …
c tokenize strtokOk, so I understand that strtok modifies its input argument, but in this case, it's collapsing down the input string …
c strtokI have been spending some time in debugging a programme which gives segmentation fault. The bug is quite indeterministic and …
c linux thread-safety strtokI have a const char* variable which may have a value like "OpenStack:OpenStack1". I want to tokenize this const …
c++ c strtok