? error (
#2

add
Код:
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;
}
to your script
Reply


Messages In This Thread
? error ( - by hillko - 26.07.2011, 17:55
Re: ? error ( - by Skaizo - 26.07.2011, 17:59
Re: ? error ( - by rooney12 - 26.07.2011, 18:03
Re: ? error ( - by hillko - 26.07.2011, 18:05

Forum Jump:


Users browsing this thread: 2 Guest(s)