Ajuda com o GM
#6

entao deve ser pq o codigo esta add duas vezes
PHP код:
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;

procure por isso e apague
Reply


Messages In This Thread
Ajuda com o GM - by NesQ - 12.05.2012, 21:50
Re: Ajuda com o GM - by Joker_OutLock - 12.05.2012, 21:51
Re: Ajuda com o GM - by NesQ - 12.05.2012, 21:55
Re: Ajuda com o GM - by dPlaYer_ - 12.05.2012, 22:12
Re: Ajuda com o GM - by NesQ - 12.05.2012, 22:39
Re: Ajuda com o GM - by lucas_mdr1235 - 12.05.2012, 22:53

Forum Jump:


Users browsing this thread: 4 Guest(s)