erors - help me fix it
#1

the eror:
Код:
error 047: array sizes do not match, or destination array is too small
the text:

Код:
new offset = index;
new result[126];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
  result[index - offset] = string[index];
  index++;
}
result[index - offset] = EOS;
return result;
}
the eror:
Код:
error 021: symbol already defined: "strtok"
the text:
Код:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
Reply
#2

Is this from an include or from the script?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)