Skripta koju koristim: moja od 0
Detaljan opis problema: error
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Eror koji izbacuje (1227) : error 029: invalid expression, assumed zero
1225 strtok(const string[], &index) {
1226 new length = strlen(string);
1227 while ((index < length) && (string <= ' ')) } index++;
1228 new offset = index, result;
1229 while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
1230 result[index - offset] = EOS;
1231 return result; }
Zaključano
[POMOC] eror
223
pregleda
8
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 11 godina
sve je to lepo samo je problem sto ne znam gde su te visak zagrade eto ti skripta pa vidi
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string <= ' ')) } index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }
pre 11 godina
Stavi umesto tog ovako:
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string < ' ')) } index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }
pre 11 godina
Seiz wrote on October 10, 2014, 3:40 pm:
Stavi umesto tog ovako:
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string < ' ')) } index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }isto
pre 11 godina
Zameni sa ovim:
strtok(const string[], &index) {
new length = strlen(string);
while ((index < length) && (string < ' ')) index++;
new offset = index, result;
while ((index < length) && (string > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string; index++; }
result[index - offset] = EOS;
return result; }
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava