Borderou de evaluare (job #1026524)
Utilizator | Data | 11 noiembrie 2013 18:55:17 | |
---|---|---|---|
Problema | Sudest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:1: error: ‘ofstream’ does not name a type
ofstream g(Fout);
^
user.cpp: In function ‘void read_data()’:
user.cpp:19:3: error: ‘ifstream’ was not declared in this scope
ifstream f(Fin);
^
user.cpp:19:3: 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:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:19:12: error: expected ‘;’ before ‘f’
ifstream f(Fin);
^
user.cpp:20:3: error: ‘f’ was not declared in this scope
f>>N;
^
user.cpp: In function ‘void drum(int, int, int)’:
user.cpp:46:20: error: ‘g’ was not declared in this scope
if(x==0 && y==0) g<<1<<" "<<1<<'\n';
^
user.cpp:54:13: error: ‘g’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;
^
user.cpp:54:31: error: ‘endl’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;
^
user.cpp:54:31: note: suggested alternative:
In file included from /usr/local/include/c++/4.8.0/istream:39:0,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:1:
/usr/local/include/c++/4.8.0/ostream:564:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^
user.cpp:61:13: error: ‘g’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;}
^
user.cpp:61:31: error: ‘endl’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;}
^
user.cpp:61:31: note: suggested alternative:
In file included from /usr/local/include/c++/4.8.0/istream:39:0,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:1:
/usr/local/include/c++/4.8.0/ostream:564:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !