Borderou de evaluare (job #1110808)
| Utilizator | Data | 18 februarie 2014 13:32:25 | |
|---|---|---|---|
| Problema | A+B | 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:8:2: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream fout("adunare.out")
^
user.cpp:11:7: error: ‘a’ was not declared in this scope
fin>>a>>b;
^
user.cpp:11:10: error: ‘b’ was not declared in this scope
fin>>a>>b;
^
user.cpp:12:2: error: ‘s’ was not declared in this scope
s=a+b;
^
user.cpp:14:2: error: ‘fout’ was not declared in this scope
fout<<s<<endl;
^
user.cpp:17:2: error: expected ‘;’ before ‘fout’
fout.close()
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
