Borderou de evaluare (job #301485)

Utilizator bacerandreiBacer Andrei bacerandrei Data 8 aprilie 2009 11:32:44
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: 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:63:2: warning: no newline at end of file user.cpp: In function 'void add(nod&, int)': user.cpp:21: error: cannot convert 'nod' to 'nod*' in assignment user.cpp:22: error: no match for 'operator=' in 'dest = p' user.cpp:10: note: candidates are: nod& nod::operator=(const nod&) user.cpp: In function 'void read()': user.cpp:33: error: invalid initialization of reference of type 'nod&' from expression of type 'nod*' user.cpp:16: error: in passing argument 1 of 'void add(nod&, int)' user.cpp:34: error: invalid initialization of reference of type 'nod&' from expression of type 'nod*' user.cpp:16: error: in passing argument 1 of 'void add(nod&, int)'

Ceva nu functioneaza?