Borderou de evaluare (job #586672)
Utilizator | Data | 2 mai 2011 18:41:49 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from user.cpp:2:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp: In function 'int main()':
user.cpp:10: error: invalid conversion from 'char' to 'const char*'
user.cpp:10: error: initializing argument 2 of 'FILE* freopen(const char*, const char*, FILE*)'
user.cpp:11: error: invalid conversion from 'char' to 'const char*'
user.cpp:11: error: initializing argument 2 of 'FILE* freopen(const char*, const char*, FILE*)'
user.cpp:18: error: invalid conversion from 'char' to 'const char*'
user.cpp:18: error: initializing argument 1 of 'int atoi(const char*)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !