Borderou de evaluare (job #1013748)
Utilizator | Data | 21 octombrie 2013 17:51:52 | |
---|---|---|---|
Problema | Lant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:2: error: ‘f’ was not declared in this scope
{f=fopen ("lant.in","r");
^
user.cpp:7:2: error: ‘g’ was not declared in this scope
g=fopen ("lant.out","w");
^
user.cpp:8:18: error: ‘k’ was not declared in this scope
fscanf (f,"%d",&k);
^
user.cpp:9:20: error: ‘c’ was not declared in this scope
fscanf (f,"%c%c",&c,&c);
^
user.cpp:11:19: error: ‘isletter’ was not declared in this scope
while (isletter(c) || c==' ' || strchr (c,",:;.!?-"))
^
user.cpp:11:53: error: ‘strchr’ was not declared in this scope
while (isletter(c) || c==' ' || strchr (c,",:;.!?-"))
^
user.cpp:12:5: error: ‘nr’ was not declared in this scope
{ nr=0; k++;
^
user.cpp:15:9: error: ‘a’ was not declared in this scope
a[k][nr++]=c;
^
user.cpp:17:5: error: expected ‘;’ before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !