[Ajuda] Don_Speed vк aqui. Cont 26 ERROS
#5

Serб que nгo deve ser isto ? ou algo parecido.

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;
}
Porque um dia deu 26 erros no meu, e o cara me passou isto e resolveu.
Reply


Messages In This Thread
Don_Speed vк aqui. Cont 26 ERROS - by ZaturN - 31.12.2013, 17:03
Re: Don_Speed vк aqui. Cont 26 ERROS - by ProKillerpa - 31.12.2013, 17:05
Re: Don_Speed vк aqui. Cont 26 ERROS - by ZaturN - 31.12.2013, 17:08
Re: Don_Speed vк aqui. Cont 26 ERROS - by Don_Speed - 31.12.2013, 17:25
Re: Don_Speed vк aqui. Cont 26 ERROS - by ZaturN - 31.12.2013, 20:37
Re: Don_Speed vк aqui. Cont 26 ERROS - by bruxo00 - 31.12.2013, 20:57
Re: Don_Speed vк aqui. Cont 26 ERROS - by unamed - 31.12.2013, 22:27
Re: Don_Speed vк aqui. Cont 26 ERROS - by ZaturN - 31.12.2013, 22:43
Re: Don_Speed vк aqui. Cont 26 ERROS - by unamed - 01.01.2014, 00:13

Forum Jump:


Users browsing this thread: 2 Guest(s)