Kann mir wer sagen was der von mir will?
}
strtok(const string[], &index)
{ // error 021: symbol already defined: "strtok"
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; // error 047: array sizes do not match, or destination array is too small
}
Hab die erros hinter die stellen geschrieben wo sie sind