Borderou de evaluare (job #46434)

Utilizator bobo_2dan horia bobo_2 Data 2 aprilie 2007 17:27:21
Problema Alpin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31, from user.cpp:1: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.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:14: error: invalid conversion from 'char*' to 'int' user.cpp:14: error: initializing argument 1 of 'void invers(int)' user.cpp:16: error: invalid conversion from 'char*' to 'int' user.cpp:16: error: initializing argument 1 of 'void invers(int)' user.cpp:17: error: request for member 's2' in 's1', which is of non-class type 'char [1001]' user.cpp:21: error: variable or field 'invers' declared void user.cpp:21: error: invalid conversion from 'char*' to 'int' user.cpp:22: error: expected ',' or ';' before '{' token user.cpp:30: error: variable or field 'adun' declared void user.cpp:31: error: expected primary-expression before '{' token user.cpp:39: error: expected ',' or ';' at end of input user.cpp:21: warning: unused variable 'invers' user.cpp:30: warning: unused variable 'adun' user.cpp:39: error: expected `}' at end of input

Ceva nu functioneaza?