Borderou de evaluare (job #249089)

Utilizator BillyRobert Billy Data 27 ianuarie 2009 15:49:50
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala 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 'int main()': user.cpp:4: error: 'p' declared as reference but not initialized user.cpp:10: error: invalid conversion from 'char*' to 'char' user.cpp:11: warning: comparison with string literal results in unspecified behaviour user.cpp:11: error: ISO C++ forbids comparison between pointer and integer user.cpp:13: error: invalid conversion from 'int' to 'const char*' user.cpp:13: error: initializing argument 1 of 'char* strstr(const char*, const char*)' user.cpp:13: error: invalid conversion from 'char*' to 'char'

Ceva nu functioneaza?