Borderou de evaluare (job #245028)
Utilizator | Data | 16 ianuarie 2009 15:59:24 | |
---|---|---|---|
Problema | Subsir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
In file included from /usr/include/c++/4.2/backward/iostream.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:81:2: warning: no newline at end of file
user.cpp: In function 'void construire(char*, char*, int&)':
user.cpp:50: error: no match for 'operator=' in '((std::basic_ostream<char, std::char_traits<char> >*)std::operator<< [with _Traits = std::char_traits<char>](((std::basic_ostream<char, std::char_traits<char> >&)(& std::cout)), ((const char*)"subsirul comun maxim are lungimea ")))->std::basic_ostream<_CharT, _Traits>::operator<< [with _CharT = char, _Traits = std::char_traits<char>](l) = lung[(n - 1)][(m - 1)]'
/usr/include/c++/4.2/iosfwd:64: note: candidates are: std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::operator=(const std::basic_ostream<char, std::char_traits<char> >&)
user.cpp: At global scope:
user.cpp:72: error: '::main' must return 'int'
user.cpp: In function 'int main()':
user.cpp:13: error: too few arguments to function 'void construire(char*, char*, int&)'
user.cpp:78: error: at this point in file
user.cpp:79: error: 'l' was not declared in this scope
user.cpp:81: error: expected `;' before '}' token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !