[PEDIDO]Strtok
#1

Boas galerinha do bem eu vim ate aqui pedi um favorzinho para voces eu queria que se alguem podesse fazer um tutorial de como usar

pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result)- 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
}
Porque eu ainda sou muito Noob e nгo sei utilizar quando tento utiliza-lo me da uma porrada de erros e warnings

para vcs terem uma idйia eu nгo sei fazer um simples comando de /darvida ID para vcs verem minha noobice nem copiando de outro GM eu nгo sei da erros e warnings Brigadin a quem me ajudar
Reply


Messages In This Thread
[PEDIDO]Strtok - by TiagoPS - 18.08.2010, 20:48
Re: [PEDIDO]Strtok - by LeLeTe - 18.08.2010, 22:51
Re: [PEDIDO]Strtok - by zSuYaNw - 18.08.2010, 23:34
Re: [PEDIDO]Strtok - by LeLeTe - 18.08.2010, 23:47
Re: [PEDIDO]Strtok - by zSuYaNw - 18.08.2010, 23:53
Re: [PEDIDO]Strtok - by Kasura - 19.08.2010, 00:26
Re: [PEDIDO]Strtok - by LeLeTe - 19.08.2010, 01:18
Re: [PEDIDO]Strtok - by TiagoPS - 19.08.2010, 13:50
Re: [PEDIDO]Strtok - by zSuYaNw - 19.08.2010, 14:56
Re: [PEDIDO]Strtok - by ipsBruno - 19.08.2010, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)