- 0
Erori "strtok"
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Anonym
Curand am inceput sa invat scripting.
Am un mod de la care vreau sa pornesc dar am o problema :
Aceste erori :
Am cautat pe google si am vazut asta :
strtok(const stringstrtok[], &index) { new length = strlen(stringstrtok); while ((index < length) && (stringstrtok[index] <= ' ')) { index++; } new offset = index, result[20]; while ((index < length) && (stringstrtok[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = stringstrtok[index]; index++; } result[index - offset] = EOS; return result; }Dar daca o pun ma spawneza total aiurea , nu merg comenziile , toti banii sunt 0 si nu primesti deloc banii.
Astept un raspuns.
Multumesc frumos ^
^
0 answers to this question
Recommended Posts