Borderou de evaluare (job #2113734)
Utilizator | Data | 24 ianuarie 2018 23:29:39 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:13:23: error: ‘p’ undeclared (first use in this function)
fread(p, sizeof(int), 1, fisierin);
^
user.c:13:23: note: each undeclared identifier is reported only once for each function it appears in
user.c:39:5: warning: passing argument 1 of ‘fwrite’ makes pointer from integer without a cast [enabled by default]
fwrite(rez, sizeof(int), 1, fisierout);
^
In file included from user.c:2:0:
/usr/include/stdio.h:712:15: note: expected ‘const void * restrict’ but argument is of type ‘int’
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !