Borderou de evaluare (job #231377)

Utilizator tauruTauru Stefan tauru Data 14 decembrie 2008 12:14:51
Problema Tablete Status done
Runda Algoritmiada 2009, Runda 1, Clasele 9-10 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: 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:53:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:12: error: no match for 'operator=' in 'f = fopen(((const char*)"tablete.in"), ((const char*)"r"))' /usr/include/c++/4.2/iosfwd:95: note: candidates are: std::basic_fstream<char, std::char_traits<char> >& std::basic_fstream<char, std::char_traits<char> >::operator=(const std::basic_fstream<char, std::char_traits<char> >&) user.cpp:13: error: no match for 'operator=' in 'g = fopen(((const char*)"tablete.out"), ((const char*)"w"))' /usr/include/c++/4.2/iosfwd:95: note: candidates are: std::basic_fstream<char, std::char_traits<char> >& std::basic_fstream<char, std::char_traits<char> >::operator=(const std::basic_fstream<char, std::char_traits<char> >&) user.cpp:15: error: invalid conversion from 'void*' to 'FILE*' user.cpp:15: error: initializing argument 1 of 'int fscanf(FILE*, const char*, ...)' user.cpp:16: error: invalid conversion from 'void*' to 'FILE*' user.cpp:16: error: initializing argument 1 of 'int fclose(FILE*)' user.cpp:46: error: invalid conversion from 'void*' to 'FILE*' user.cpp:46: error: initializing argument 1 of 'int fprintf(FILE*, const char*, ...)' user.cpp:47: error: invalid conversion from 'void*' to 'FILE*' user.cpp:47: error: initializing argument 1 of 'int fprintf(FILE*, const char*, ...)' user.cpp:50: error: invalid conversion from 'void*' to 'FILE*' user.cpp:50: error: initializing argument 1 of 'int fclose(FILE*)'

Ceva nu functioneaza?