Borderou de evaluare (job #1859639)
Utilizator | Data | 27 ianuarie 2017 19:43:06 | |
---|---|---|---|
Problema | Evaluare1 | Status | done |
Runda | PreOJI 2017 | Compilator | cpp |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void removeP(char*, char*)’:
user.cpp:45:19: error: ‘strlen’ was not declared in this scope
int lg = strlen(s), s2Lg = 0;
^
user.cpp:65:20: error: ‘s2Lg’ was not declared in this scope
write(nr, s2, s2Lg);
^
user.cpp:73:9: error: ‘s2Lg’ was not declared in this scope
s2[s2Lg++] = s[i];
^
user.cpp:78:5: error: ‘s2Lg’ was not declared in this scope
s2[s2Lg] = '\0';
^
user.cpp: In function ‘void useNot(char*, char*)’:
user.cpp:83:19: error: ‘strlen’ was not declared in this scope
int lg = strlen(s), s2Lg = 0, nrNots = 0;
^
user.cpp:87:4: error: ‘nrNots’ was not declared in this scope
nrNots++;
^
user.cpp:89:8: error: ‘nrNots’ was not declared in this scope
if (nrNots != 0)
^
user.cpp:101:19: error: ‘s2Lg’ was not declared in this scope
write(nr, s2, s2Lg);
^
user.cpp:104:8: error: ‘s2Lg’ was not declared in this scope
s2[s2Lg++] = s[i];
^
user.cpp:106:5: error: ‘s2Lg’ was not declared in this scope
s2[s2Lg] = '\0';
^
user.cpp: In function ‘long long int calcPow(char*)’:
user.cpp:121:19: error: ‘strlen’ was not declared in this scope
int lg = strlen(s);
^
user.cpp: In function ‘long long int calcTerm(char*)’:
user.cpp:136:20: error: ‘strlen’ was not declared in this scope
int lg = strlen(s3);
^
user.cpp: In function ‘long long int eval(char*)’:
user.cpp:157:19: error: ‘strlen’ was not declared in this scope
int lg = strlen(s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !