Borderou de evaluare (job #312720)

Utilizator popescugeorgianapopescu georgiana popescugeorgiana Data 6 mai 2009 20:01:27
Problema A+B Status done
Runda Arhiva de probleme 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. In file included from /usr/include/c++/4.2/backward/iostream.h:32, from user.cpp:6: /usr/include/c++/4.2/iostream:48: error: expected unqualified-id before 'namespace' In file included from user.cpp:6: /usr/include/c++/4.2/backward/iostream.h:34: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:35: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:36: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:37: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:38: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:40: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:41: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:42: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:43: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:45: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:46: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:47: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:48: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:51: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:52: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:53: error: using-declaration for non-member at class scope /usr/include/c++/4.2/backward/iostream.h:54: error: using-declaration for non-member at class scope user.cpp:8: error: expected identifier before string constant user.cpp:8: error: expected ',' or '...' before string constant user.cpp:9: error: expected identifier before string constant user.cpp:9: error: expected ',' or '...' before string constant user.cpp:10: error: ISO C++ forbids declaration of 'main' with no type user.cpp:16: error: expected `}' at end of input user.cpp: In member function 'int nod::main()': user.cpp:13: error: invalid use of member (did you forget the '&' ?) user.cpp:14: error: invalid use of member (did you forget the '&' ?) user.cpp:15: error: invalid use of member (did you forget the '&' ?) user.cpp:16: warning: no return statement in function returning non-void user.cpp: At global scope: user.cpp:16: error: expected unqualified-id at end of input

Ceva nu functioneaza?