Borderou de evaluare (job #1015504)
Utilizator | Data | 24 octombrie 2013 19:20:12 | |
---|---|---|---|
Problema | Dir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:18:1: error: ‘ofstream’ does not name a type
ofstream g(Fout);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:82:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char *bkslash="\\";
^
user.cpp: In function ‘void afisare()’:
user.cpp:115:3: error: ‘g’ was not declared in this scope
g<<NrSol<<'\n';
^
user.cpp: In function ‘void citire()’:
user.cpp:123:3: error: ‘ifstream’ was not declared in this scope
ifstream f(Fin);
^
user.cpp:123: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:5:
/usr/local/include/c++/4.8.0/iosfwd:157:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^
user.cpp:123:12: error: expected ‘;’ before ‘f’
ifstream f(Fin);
^
user.cpp:124:3: error: ‘f’ was not declared in this scope
f.get(Sir,3000,'\n');
^
user.cpp: In function ‘void init()’:
user.cpp:131:7: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !