[AJUDA]Comando /v
#9

Final do gm ,

Код:
stock 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;
}
Reply


Messages In This Thread
[AJUDA]Comando /v - by ecl - 12.12.2010, 13:14
Re: [AJUDA]Comando /v - by [Ips]Guh - 12.12.2010, 14:07
Re: [AJUDA]Comando /v - by Katros - 12.12.2010, 16:18
Re: [AJUDA]Comando /v - by Macintosh - 12.12.2010, 16:20
Re: [AJUDA]Comando /v - by rjjj - 12.12.2010, 16:48
Re: [AJUDA]Comando /v - by ecl - 13.12.2010, 16:30
Re: [AJUDA]Comando /v - by TiagoPS - 13.12.2010, 17:11
Re: [AJUDA]Comando /v - by ecl - 13.12.2010, 18:13
Re: [AJUDA]Comando /v - by Pierox_ - 13.12.2010, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)