Borderou de evaluare (job #1857591)
Utilizator | Data | 26 ianuarie 2017 13:42:50 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: expected ‘,’ or ‘;’ before ‘struct’
struct Punct
^
user.cpp:14:1: error: ‘Punct’ does not name a type
Punct *coada, *p, *q;
^
user.cpp: In function ‘int main()’:
user.cpp:41:5: error: ‘p’ was not declared in this scope
p=new Punct;
^
user.cpp:41:11: error: expected type-specifier before ‘Punct’
p=new Punct;
^
user.cpp:41:11: error: expected ‘;’ before ‘Punct’
user.cpp:45:5: error: ‘coada’ was not declared in this scope
coada=p;
^
user.cpp:59:17: error: ‘q’ was not declared in this scope
q=new Punct;
^
user.cpp:59:23: error: expected type-specifier before ‘Punct’
q=new Punct;
^
user.cpp:59:23: error: expected ‘;’ before ‘Punct’
user.cpp:68:9: error: ‘Punct’ was not declared in this scope
Punct *aux;
^
user.cpp:68:16: error: ‘aux’ was not declared in this scope
Punct *aux;
^
user.cpp:71:16: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
delete aux;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !