[Ajuda] 2 erros e 1 Warning
#12

Ah, eu deletei tudo isso

pawn Code:
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;
}
e Compilou direitinho, agora sу ficou o warning "ret_memcpy"

Obrigado aos que ajudaram.
Reply


Messages In This Thread
2 erros e 1 Warning - by [NVC]iTrevaS - 11.12.2012, 14:25
Re: 2 erros e 1 Warning - by MegalodoN - 11.12.2012, 14:27
Respuesta: 2 erros e 1 Warning - by [NVC]iTrevaS - 11.12.2012, 14:29
Re: 2 erros e 1 Warning - by Gleisson_. - 11.12.2012, 14:30
Re: 2 erros e 1 Warning - by smiiir - 11.12.2012, 14:31
Re: 2 erros e 1 Warning - by Don_Speed - 11.12.2012, 14:34
Re: 2 erros e 1 Warning - by MegalodoN - 11.12.2012, 14:35
Respuesta: Re: 2 erros e 1 Warning - by [NVC]iTrevaS - 11.12.2012, 14:37
Re: Respuesta: Re: 2 erros e 1 Warning - by smiiir - 11.12.2012, 14:40
Respuesta: 2 erros e 1 Warning - by [NVC]iTrevaS - 11.12.2012, 14:45
Re: Respuesta: 2 erros e 1 Warning - by smiiir - 11.12.2012, 14:46
Respuesta: 2 erros e 1 Warning - by [NVC]iTrevaS - 11.12.2012, 14:48
Re: 2 erros e 1 Warning - by Pzy - 11.12.2012, 14:49
Re: Respuesta: 2 erros e 1 Warning - by smiiir - 11.12.2012, 14:51
Re: 2 erros e 1 Warning - by _Jizzy_ - 11.12.2012, 17:19
Re: 2 erros e 1 Warning - by HardWar - 11.12.2012, 18:00

Forum Jump:


Users browsing this thread: 2 Guest(s)