Borderou de evaluare (job #1508918)

Utilizator rocandu16Badulescu Dan Andrei rocandu16 Data 23 octombrie 2015 09:53:21
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void process_tok(char*)’: user.cpp:84:24: error: ‘strcmp’ was not declared in this scope if (strcmp(s,"TRUE")==0) ^ user.cpp:91:25: error: ‘strcmp’ was not declared in this scope if (strcmp(s,"FALSE")==0) ^ user.cpp:98:23: error: ‘strcmp’ was not declared in this scope if (strcmp(s,"AND")==0) ^ user.cpp:103:23: error: ‘strcmp’ was not declared in this scope if (strcmp(s,"NOT")==0) ^ user.cpp:108:22: error: ‘strcmp’ was not declared in this scope if (strcmp(s,"OR")==0) ^ user.cpp: In function ‘int main(int, char* const*)’: user.cpp:178:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d",&n); ^

Ceva nu functioneaza?