Borderou de evaluare (job #91377)

Utilizator avatar MihaiG Gheoace Mihai MihaiG IP ascuns
Problemă Plusminus (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 nov. 2014 20:35:49 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:7:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat] user.cpp:8:6: error: request for member ‘get’ in ‘f’, which is of non-class type ‘FILE* {aka _IO_FILE*}’ user.cpp:9:3: error: request for member ‘get’ in ‘f’, which is of non-class type ‘FILE* {aka _IO_FILE*}’ user.cpp:9:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat] user.cpp:15:3: error: request for member ‘close’ in ‘f’, which is of non-class type ‘FILE* {aka _IO_FILE*}’ user.cpp:15:11: error: request for member ‘close’ in ‘g’, which is of non-class type ‘FILE* {aka _IO_FILE*}’ user.cpp:7:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]