[ajuda]erros
#3

no fim tu tens

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;
}
simplesmente apaga
Reply


Messages In This Thread
[ajuda]erros - by tshadow - 16.04.2010, 20:42
Re: [ajuda]erros - by BiGGaMeS - 16.04.2010, 21:20
Re: [ajuda]erros - by SlashPT - 16.04.2010, 21:24
Re: [ajuda]erros - by tshadow - 16.04.2010, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)