2 errors [help]
#3

this is the liens from the errors



Код:
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;
}
ok there both there
Reply


Messages In This Thread
2 errors [help] - by sggassasin - 08.08.2009, 02:44
Re: 2 errors [help] - by sggassasin - 08.08.2009, 02:44
Re: 2 errors [help] - by sggassasin - 08.08.2009, 02:51

Forum Jump:


Users browsing this thread: 2 Guest(s)