Why the strtok function ignores two tokens one after the other

后端 未结 0 1786
攒了一身酷
攒了一身酷 2020-12-11 05:33

I have a code that split my char str[] to tokens:

void my_function(char str[])
{   
    int i = 0;
    char *p = strtok(str, "/");
    char *rows[SI         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题