04.10.2012, 17:56
Quote:
Best option is to use sscanf, but if for some reason you don't want to, you can use the old strtok way:
Код:
new tmp; new cmd[50]; cmd = strtok(params, tmp); if(!strlen(cmd)) { ... } |
Thank you,i used sscanf params and it works.