Borderou de evaluare (job #677545)
Utilizator | Data | 10 februarie 2012 12:29:35 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:1:21: error: iostream.h: No such file or directory
user.c:2:20: error: fstream.h: No such file or directory
user.c:11: error: expected specifier-qualifier-list before ‘graf’
user.c:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
user.c:17: error: variably modified ‘d’ at file scope
user.c:17: error: variably modified ‘v’ at file scope
user.c: In function ‘add’:
user.c:24: error: ‘graf’ undeclared (first use in this function)
user.c:24: error: (Each undeclared identifier is reported only once
user.c:24: error: for each function it appears in.)
user.c:24: error: ‘q’ undeclared (first use in this function)
user.c:25: error: ‘new’ undeclared (first use in this function)
user.c:25: error: expected ‘;’ before ‘graf’
user.c:28: error: ‘a’ undeclared (first use in this function)
user.c: In function ‘citire’:
user.c:35: error: ‘ifstream’ undeclared (first use in this function)
user.c:35: error: expected ‘;’ before ‘f’
user.c:38: error: ‘f’ undeclared (first use in this function)
user.c:39: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:39: note: use option -std=c99 or -std=gnu99 to compile your code
user.c: In function ‘afisare’:
user.c:50: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:52: error: ‘graf’ undeclared (first use in this function)
user.c:52: error: ‘q’ undeclared (first use in this function)
user.c:52: error: ‘a’ undeclared (first use in this function)
user.c:53: error: ‘cout’ undeclared (first use in this function)
user.c:59: error: ‘endl’ undeclared (first use in this function)
user.c: In function ‘dijkstra’:
user.c:68: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:74: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:78: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:87: error: ‘graf’ undeclared (first use in this function)
user.c:87: error: ‘t’ undeclared (first use in this function)
user.c:88: error: ‘a’ undeclared (first use in this function)
user.c: In function ‘main’:
user.c:112: error: ‘ofstream’ undeclared (first use in this function)
user.c:112: error: expected ‘;’ before ‘g’
user.c:116: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:117: error: ‘g’ undeclared (first use in this function)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !