Borderou de evaluare (job #1349650)
Utilizator | Data | 20 februarie 2015 13:02:42 | |
---|---|---|---|
Problema | Reteta2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void ver(char*, int)’:
user.cpp:26:21: error: ‘n’ was not declared in this scope
for(int i=1; i<=n; i++)
^
user.cpp:27:19: error: ‘ingr’ was not declared in this scope
if(strcmp(ingr[i].nume,c)==0)
^
user.cpp:35:9: error: ‘n’ was not declared in this scope
n++;
^
user.cpp:36:9: error: ‘ingr’ was not declared in this scope
ingr[n].cant=k;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !