Borderou de evaluare (job #1871401)
Utilizator | Data | 7 februarie 2017 12:40:35 | |
---|---|---|---|
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:5: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream g("adunare.out")
^
user.cpp:10:4: error: ‘a’ was not declared in this scope
f>>a>>b;
^
user.cpp:10:7: error: ‘b’ was not declared in this scope
f>>a>>b;
^
user.cpp:11:1: error: ‘g’ was not declared in this scope
g<<a+b;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !