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