Borderou de evaluare (job #1042942)
Utilizator | Data | 27 noiembrie 2013 20:07:27 | |
---|---|---|---|
Problema | Stramosi | 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:9:2: error: ‘fstream’ was not declared in this scope
fstream fin("stramosi.in",ios::in);
^
user.cpp:9: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/ostream:38,
from /usr/local/include/c++/4.8.0/iostream:39,
from user.cpp:1:
/usr/local/include/c++/4.8.0/iosfwd:163:33: note: ‘std::fstream’
typedef basic_fstream<char> fstream;
^
user.cpp:9:10: error: expected ‘;’ before ‘fin’
fstream fin("stramosi.in",ios::in);
^
user.cpp:10:10: error: expected ‘;’ before ‘fout’
fstream fout("stramosi.out",ios::out);
^
user.cpp:13:2: error: ‘fin’ was not declared in this scope
fin>>n>>m;
^
user.cpp:35:3: error: ‘fout’ was not declared in this scope
fout<<p;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !