Borderou de evaluare (job #98761)

Utilizator GagosGagos Radu Vasile Gagos Data 10 noiembrie 2007 16:32:28
Problema Abc2 Status done
Runda Happy Coding 2007 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/include/c++/4.2/backward/fstream.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: In function 'long int gas_poz(char*)': user.cpp:12: error: invalid conversion from 'unsigned char*' to 'char*' user.cpp:13: error: invalid conversion from 'unsigned char*' to 'const char*' user.cpp:13: error: initializing argument 2 of 'char* strstr(const char*, const char*)' user.cpp: In function 'int main()': user.cpp:44: error: invalid conversion from 'unsigned char*' to 'char*' user.cpp:44: error: initializing argument 1 of 'long int gas_poz(char*)'

Ceva nu functioneaza?