Borderou de evaluare (job #782313)
Utilizator | Data | 26 august 2012 18:30:41 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:24: warning: passing argument 1 of ‘fopen’ from incompatible pointer type
/usr/include/stdio.h:249: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:24: error: too many arguments to function ‘fopen’
user.c:25: warning: passing argument 1 of ‘fopen’ from incompatible pointer type
/usr/include/stdio.h:249: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:25: error: too many arguments to function ‘fopen’
user.c:24: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result
user.c:25: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result
user.c:27: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
user.c:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !