Borderou de evaluare (job #1472626)
Utilizator | Data | 17 august 2015 14:31:16 | |
---|---|---|---|
Problema | PScPld2D | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:47:10: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable]
char ch;
^
user.c:51:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d ", &n);
^
user.c: In function ‘myfgetc’:
user.c:10:14: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, BUF_SIZE, 1, fin);
^
/tmp/cc2xv0XM.o: In function `main':
user.c:(.text.startup+0x7a): undefined reference to `myfgetc'
user.c:(.text.startup+0xa2): undefined reference to `myfgetc'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !