如何使用strtok函数
#includestdio.h
#includestring.h
#includeconio.h
char stringyydqq='A stringtof,tokensnand some more tokens ';
char sepsyydqq=',tn ';
char *token;
输入主(语音) )。
{
printf(Tokens:(n );
token=strtok (字符串,seps );
wile (东京!=空) {
printf(%s(n )、token );
token=strtok(null,seps );
}
getch (;
返回0;
}