[Ajuda] ERRO "strtok"
#3

Quote:
Originally Posted by tonisantolia
Посмотреть сообщение
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;
}
Delete isso, pois jб estб definido.
Nгo sei se sabe...

Mais eu te amo vey .-.

valeuuuu ajudo mtssissimoo >
Reply


Messages In This Thread
ERRO "strtok" - by davi54723 - 09.02.2013, 13:19
Re: ERRO "strtok" - by tonisantolia - 09.02.2013, 13:24
Re: ERRO "strtok" - by davi54723 - 09.02.2013, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)