Borderou de evaluare (job #103439)

Utilizator avatar ilinca_stefi 7B Chirtoc Ilinca Stefania ilinca_stefi IP ascuns
Problemă Zoomx2 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 ian. 2015 14:08:25 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:5: error: ‘cha’ was not declared in this scope user.cpp:9:9: error: expected ‘;’ before ‘a’ user.cpp:10:23: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat] user.cpp:14:31: error: ‘a’ was not declared in this scope user.cpp:18:9: error: expected primary-expression before ‘}’ token user.cpp:18:9: error: expected ‘;’ before ‘}’ token user.cpp:7:10: warning: unused variable ‘fout’ [-Wunused-variable] user.cpp: At global scope: user.cpp:19:13: error: ‘a’ does not name a type user.cpp:20:9: error: expected declaration before ‘}’ token user.cpp: In function ‘int main()’: user.cpp:10:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]