Borderou de evaluare (job #756080)
Utilizator | Data | 8 iunie 2012 23:10:52 | |
---|---|---|---|
Problema | Bool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void delSpaces(char*)’:
user.cpp:15:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<strlen(p); ++i)
^
user.cpp: In function ‘bool operatie(bool, bool, char*)’:
user.cpp:22:26: error: ‘stricmp’ was not declared in this scope
if ( !stricmp(o,"AND") ) return t1 && t2;
^
user.cpp: In function ‘bool operand()’:
user.cpp:34:38: error: ‘strnicmp’ was not declared in this scope
} else if ( !strnicmp(p, "NOT", 3)) {
^
user.cpp: In function ‘bool eval(int)’:
user.cpp:49:71: error: ‘strnicmp’ was not declared in this scope
while ( h < hmax && strnicmp(operators[h], p, strlen(operators[h]))==0 ) {
^
user.cpp: In function ‘bool operatie(bool, bool, char*)’:
user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !