Borderou de evaluare (job #654497)

Utilizator avatar Casian Casian Teodorescu Casian IP ascuns
Problemă Fgetc (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 6 iul. 2022 14:57:51 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:11:14: error: 'fin' undeclared (first use in this function) 11 | ch=fgetc(fin); | ^~~ main.c:11:14: note: each undeclared identifier is reported only once for each function it appears in main.c:17:5: error: 'cout' undeclared (first use in this function) 17 | cout<<s; | ^~~~ main.c:7:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | freopen("fgetc.in", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | freopen("fgetc.out", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~