Borderou de evaluare (job #1781800)
Utilizator | Data | 17 octombrie 2016 14:45:47 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream fout("adunare.out")
^
user.cpp: In function ‘int main()’:
user.cpp:8:10: error: ‘a’ was not declared in this scope
fin>>a>>b;
^
user.cpp:8:13: error: ‘b’ was not declared in this scope
fin>>a>>b;
^
user.cpp:9:5: error: ‘c’ was not declared in this scope
c=a+b;
^
user.cpp:10:5: error: ‘fout’ was not declared in this scope
fout<<c;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !