Borderou de evaluare (job #1461044)
Utilizator | Data | 14 iulie 2015 16:20:46 | |
---|---|---|---|
Problema | Text | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:17:3: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(in, "%c", ch);
^
user.c:24:10: error: ‘i’ undeclared (first use in this function)
if((ch[i] == ' ')
^
user.c:24:10: note: each undeclared identifier is reported only once for each function it appears in
user.c:36:2: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
close(in);
^
user.c:17:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%c", ch);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !