27.12.2011, 12:12
the eror:
the text:
the eror:
the text:
Код:
error 047: array sizes do not match, or destination array is too small
Код:
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;
}
Код:
error 021: symbol already defined: "strtok"
Код:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{

