Borderou de evaluare (job #1394636)
Utilizator | Data | 20 martie 2015 15:26:52 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:4:1: error: unknown type name ‘using’
using namespace std;
^
user.c:4:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
using namespace std;
^
user.c: In function ‘main’:
user.c:20:14: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
*file_write = fopen ("adunare.out", "w");
^
user.c:9:7: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result [-Wunused-result]
fopen("adunare.in", "r");
^
user.c:15:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file,"%d", &numar1);
^
user.c:16:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%d", &numar2);
^
user.c:18:8: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result [-Wunused-result]
fopen ("adunare.out", "w");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !