beim compilen bekomme ich diese Errors
1.
(12717) : error 021: symbol already defined: "strtok"
2.
(12732) : error 047: array sizes do not match, or destination array is too small
Zeilen
12717:
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;
}
12732:
return result;