Jump to content
  • 0

Problema Compile


razvan123

Question

Salut,uitati ce imi da cand incerc sa compilez,daca va fii nevoie de linii,le voi pune,va rog ajutati-ma cine poate,raman dator.

[table]

(16630) : error 033: array must be indexed (variable "tmp")

(16642) : error 017: undefined symbol "strtok"

(16642) : error 033: array must be indexed (variable "tmp")

(17344) : error 017: undefined symbol "strtok"

(17344) : error 033: array must be indexed (variable "tmp")

(17490) : error 017: undefined symbol "strtok"

(17490) : error 033: array must be indexed (variable "tmp")

(17563) : error 017: undefined symbol "strtok"

(17563) : error 033: array must be indexed (variable "tmp")

(17578) : error 017: undefined symbol "strtok"

(17578) : error 033: array must be indexed (variable "tmp")

(17589) : error 017: undefined symbol "strtok"

(17589) : error 033: array must be indexed (variable "tmp")

(17610) : error 017: undefined symbol "strtok"

(17610) : error 033: array must be indexed (variable "tmp")

(17631) : error 017: undefined symbol "strtok"

(17631) : error 033: array must be indexed (variable "tmp")

(17652) : error 017: undefined symbol "strtok"

(17652) : error 033: array must be indexed (variable "tmp")

(17673) : error 017: undefined symbol "strtok"

(17673) : error 033: array must be indexed (variable "tmp")

(17694) : error 017: undefined symbol "strtok"

[/table]

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

adauga la sfarsitul gm-ului

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;
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.