Borderou de evaluare (job #12038)
Utilizator | Data | 2 februarie 2007 19:03:55 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/3.3/backward/fstream.h:31,
from user.cpp:1:
/usr/include/c++/3.3/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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
user.cpp: In function `int main()':
user.cpp:7: error: ambiguous overload for 'operator>>' in '
(&fin)->std::basic_istream<_CharT, _Traits>::operator>> [with _CharT = char,
_Traits = std::char_traits<char>]((&a)) >> "\n"'
/usr/include/c++/3.3/istream:690: error: candidates are:
std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char,
_Traits>&, signed char*) [with _Traits = std::char_traits<char>] <near
match>
/usr/include/c++/3.3/istream:685: error:
std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char,
_Traits>&, unsigned char*) [with _Traits = std::char_traits<char>] <near
match>
user.cpp:26:5: warning: no newline at end of file
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !