Borderou de evaluare (job #121223)

Utilizator pandaemonAndrei Popescu pandaemon Data 8 ianuarie 2008 00:35:41
Problema Ordine Status done
Runda Arhiva de probleme 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: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:26: warning: ISO C++ forbids declaration of 'main' with no type /usr/include/stdio.h: In function 'int main()': /usr/include/stdio.h:250: error: too many arguments to function 'FILE* fopen(const char*, const char*)' user.cpp:27: error: at this point in file user.cpp:27: error: expected ',' or ';' before ':' token user.cpp:33: warning: format '%c' expects type 'int', but argument 2 has type 'long int' user.cpp:27: warning: unused variable 'pfile'

Ceva nu functioneaza?