Borderou de evaluare (job #1070655)
Utilizator | Lungu Daniel L.Daniel | Data | 1 ianuarie 2014 19:02:23 |
---|---|---|---|
Problema | Alee | 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:10:2: error: ‘fstream’ was not declared in this scope
fstream f("alee.in", ios::in), g("alee.out", ios::out);
^
user.cpp:10:2: note: suggested alternative:
In file included from /usr/local/include/c++/4.8.0/ios:38:0,
from /usr/local/include/c++/4.8.0/istream:38,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:1:
/usr/local/include/c++/4.8.0/iosfwd:163:33: note: ‘std::fstream’
typedef basic_fstream<char> fstream;
^
user.cpp:10:10: error: expected ‘;’ before ‘f’
fstream f("alee.in", ios::in), g("alee.out", ios::out);
^
user.cpp:11:2: error: ‘f’ was not declared in this scope
f >> n >> m;
^
user.cpp:47:2: error: ‘g’ was not declared in this scope
g << parc[l2][c2] + 1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !