[Ajuda] 1 Erro
#3

apaga strtok.

Procura por :



strtok(const string[], &index)

e apaga atй
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;
}

resolvido;.
Reply


Messages In This Thread
[Ajuda] 1 Erro - by Jorge_Hard - 05.03.2011, 03:13
Re: [Ajuda] 1 Erro - by deregudegu - 05.03.2011, 03:18
Re: [Ajuda] 1 Erro - by zSuYaNw - 05.03.2011, 03:26
Re: [Ajuda] 1 Erro - by Jorge_Hard - 05.03.2011, 03:33
Re: [Ajuda] 1 Erro - by deregudegu - 05.03.2011, 03:36

Forum Jump:


Users browsing this thread: 3 Guest(s)