Borderou de evaluare (job #1394637)

Utilizator bog_bejBeju Bogdan bog_bej Data 20 martie 2015 15:27:12
Problema A+B Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:16:14: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’ *file_write = fopen ("adunare.out", "w"); ^ user.c:5:7: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result [-Wunused-result] fopen("adunare.in", "r"); ^ user.c:11:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file,"%d", &numar1); ^ user.c:12:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%d", &numar2); ^ user.c:14:8: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result [-Wunused-result] fopen ("adunare.out", "w"); ^

Ceva nu functioneaza?