Borderou de evaluare (job #1347265)
Utilizator | Data | 18 februarie 2015 21:16:52 | |
---|---|---|---|
Problema | Suma | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:1: error: stray ‘\342’ in program
#include <fstream.h>
^
user.cpp:1:1: error: stray ‘\200’ in program
user.cpp:1:1: error: stray ‘\252’ in program
user.cpp:1:4: error: stray ‘#’ in program
#include <fstream.h>
^
user.cpp:1:5: error: ‘include’ does not name a type
#include <fstream.h>
^
user.cpp: In function ‘int main()’:
user.cpp:5:1: error: ‘ifstream’ was not declared in this scope
ifstream f("suma.in");
^
user.cpp:5:10: error: expected ‘;’ before ‘f’
ifstream f("suma.in");
^
user.cpp:6:1: error: ‘f’ was not declared in this scope
f>>N;
^
user.cpp:16:1: error: ‘ofstream’ was not declared in this scope
ofstream g("suma.out");
^
user.cpp:16:10: error: expected ‘;’ before ‘g’
ofstream g("suma.out");
^
user.cpp:17:1: error: ‘g’ was not declared in this scope
g<<s;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !