Borderou de evaluare (job #392847)
Utilizator | Data | 8 februarie 2010 14:41:14 | |
---|---|---|---|
Problema | Divizor si multiplu | 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:1:
/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:71:2: warning: no newline at end of file
user.cpp:53: warning: ISO C++ forbids declaration of 'main' with no type
user.cpp: In function 'int main()':
user.cpp:56: error: cannot convert 'const std::_Ios_Openmode' to 'const char*' for argument '2' to 'FILE* freopen(const char*, const char*, FILE*)'
user.cpp:57: error: cannot convert 'const std::_Ios_Openmode' to 'const char*' for argument '2' to 'FILE* freopen(const char*, const char*, FILE*)'
user.cpp:55: warning: unused variable 'g'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !