[AJUDA] ERROS
#9

Apague isso Paara Ver
pawn Код:
strtok(const string[], & index)
{
    new length = strlen(CELULAS);
    while ((index < length) && (CELULAS[index] <= ' '))
    {
        index++;
    }
    new offset = index;
    new result[20];
    while ((index < length) && (CELULAS[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = CELULAS[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Reply


Messages In This Thread
[AJUDA] ERROS - by Lord_Ching - 24.01.2012, 20:07
Re: [AJUDA] ERROS - by Bolinha_ProJogos - 24.01.2012, 20:14
Re: [AJUDA] ERROS - by Don_Speed - 24.01.2012, 20:16
Re: [AJUDA] ERROS - by Lord_Ching - 24.01.2012, 20:20
Re: [AJUDA] ERROS - by Don_Speed - 24.01.2012, 20:25
Re: [AJUDA] ERROS - by Lord_Ching - 24.01.2012, 20:27
Re: [AJUDA] ERROS - by Bolinha_ProJogos - 24.01.2012, 20:31
Re: [AJUDA] ERROS - by Lord_Ching - 24.01.2012, 20:36
Re: [AJUDA] ERROS - by Don_Speed - 24.01.2012, 20:39
Re: [AJUDA] ERROS - by Lord_Ching - 24.01.2012, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)