Using the partition function

If strtok and use

Started by Jean at November 10, 2016 - 1:18 PM

The function prototype char * strtok(char str[],const char *delim);
The str parameter is a string delim 1 parameter you want to split the 2 separator, on the first call, strtok (STR) must give the parameter string, the next call the parameter STR is set to NULL. Each call returns to the successful segmentation fragment pointer

The hope can help you.

Posted by Dennis at November 22, 2016 - 2:01 PM