Erorr Compile !
#2

I think you need this somewhere

Код:
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
Erorr Compile ! - by RaZvYxXx - 12.05.2011, 15:15
Re: Erorr Compile ! - by Daddy Yankee - 12.05.2011, 15:25
Re: Erorr Compile ! - by RaZvYxXx - 12.05.2011, 15:32

Forum Jump:


Users browsing this thread: 2 Guest(s)