Borderou de evaluare (job #1218780)
Utilizator | Data | 12 august 2014 15:18:12 | |
---|---|---|---|
Problema | CMMDC | 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:3:1: error: ‘ifstream’ was not declared in this scope
ifstream fin("cmmdc.in");
^
user.cpp:3:1: note: suggested alternative:
In file included from /usr/include/c++/4.8/ios:38:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/iosfwd:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:3:10: error: expected ‘;’ before ‘fin’
ifstream fin("cmmdc.in");
^
user.cpp:4:1: error: ‘ofstream’ was not declared in this scope
ofstream fout("cmmdc.out");
^
user.cpp:4:1: note: suggested alternative:
In file included from /usr/include/c++/4.8/ios:38:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/iosfwd:160:34: note: ‘std::ofstream’
typedef basic_ofstream<char> ofstream;
^
user.cpp:4:10: error: expected ‘;’ before ‘fout’
ofstream fout("cmmdc.out");
^
user.cpp:6:1: error: ‘finf’ was not declared in this scope
finf>>a>>b;
^
user.cpp:13:1: error: ‘fout’ was not declared in this scope
fout<<0;
^
user.cpp:15:1: error: ‘fout’ was not declared in this scope
fout<<a;
^
user.cpp:17:1: error: ‘fin’ was not declared in this scope
fin.close();
^
user.cpp:18:1: error: ‘fout’ was not declared in this scope
fout.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !