- 0
Errors dintr-o data..
-
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
CrystyaN
Deci bun sa incepem cu inceputu..
aseara dupa ce am facut ceva prin mod, am dat compile si mia mers totul perfect , acum dimineata cand dau compile fara sa adaug /scot nimic imi da niste erori :-??
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; }Mai trebe sa va dau ceva?:(
4 answers to this question
Recommended Posts