Lotto command help
#3

Quote:
Originally Posted by SaYrOn
Посмотреть сообщение
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))
{
          ...
}
That's not reccomended, sscanf is much easier, faster and modern.
No i don't want to you strtok,thanks anyways.

Quote:
Originally Posted by Romel
Посмотреть сообщение
strlen doesn't work for me.
Maybe try using sscanf?
Thank you,i used sscanf params and it works.
Reply


Messages In This Thread
Lotto command help - by Face9000 - 04.10.2012, 10:20
Re: Lotto command help - by JaKe Elite - 04.10.2012, 10:24
Re: Lotto command help - by Face9000 - 04.10.2012, 17:56
Re: Lotto command help - by Vince - 04.10.2012, 18:28

Forum Jump:


Users browsing this thread: 1 Guest(s)