|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 635449
Mesaj evaluator:
bile.cpp:1: error: stray '#' in program
bile.cpp:1: error: expected unqualified-id before '?' token
In file included from /usr/include/c++/4.4/ios:39,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from bile.cpp:2:
/usr/include/c++/4.4/iosfwd:46: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:46: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:49: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:49: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:52: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:52: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:55: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:55: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:58: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:58: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:61: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:61: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:65: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:65: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:69: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:69: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:73: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:73: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:77: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:77: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:80: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:80: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:83: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:83: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:86: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:86: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:89: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:89: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:92: error: expected type-specifier before 'char_traits'
/usr/include/c++/4.4/iosfwd:92: error: expected '>' before 'char_traits'
/usr/include/c++/4.4/iosfwd:127: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:127: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:128: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:128: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:129: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:129: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:130: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:130: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:131: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:131: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:132: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:132: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:133: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:133: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:134: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:134: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:135: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:135: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:136: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:136: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:137: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:137: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:138: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:138: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:139: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:139: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:142: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:142: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:143: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:143: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:144: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:144: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:145: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:145: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:146: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:146: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:147: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:147: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:148: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:148: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:149: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:149: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:150: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:150: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:151: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:151: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:152: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:152: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:153: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:153: error: invalid type in declaration before ';' token
/usr/include/c++/4.4/iosfwd:154: error: template argument 2 is invalid
/usr/include/c++/4.4/iosfwd:154: error: invalid type in declaration before ';' token
In file included from /usr/include/c++/4.4/ios:42,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from bile.cpp:2:
/usr/include/c++/4.4/bits/localefwd.h:136: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:138: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:152: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:154: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:156: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:158: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:164: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/localefwd.h:166: error: template argument 2 is invalid
In file included from /usr/include/c++/4.4/string:46,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from bile.cpp:2:
/usr/include/c++/4.4/bits/ostream_insert.h:117: error: template-id '__ostream_insert<>' for 'std::ostream& std::__ostream_insert(std::ostream&, const char*, std::streamsize)' does not match any template declaration
/usr/include/c++/4.4/bits/ostream_insert.h:120: error: template-id '__ostream_insert<>' for 'std::wostream& std::__ostream_insert(std::wostream&, const wchar_t*, std::streamsize)' does not match any template declaration
In file included from /usr/include/c++/4.4/string:53,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/istream:40,
from /usr/include/c++/4.4/fstream:40,
from bile.cpp:2:
/usr/include/c++/4.4/bits/basic_string.h:2242: error: wrong number of template arguments (1, should be 3)
/usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
/usr/include/c++/4.4/bits/basic_string.h:2243: error: wrong number of template arguments (1, should be 3)
/usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
/usr/include/c++/4.4/bits/basic_string.h:2243: error: 'typename __gnu_cxx::__enable_if<std::__is_char::__value, bool>::__type std::operator==(const int&, const int&)' must have an argument of class or enumerated type
/usr/include/c++/4.4/bits/basic_string.h:2487: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/basic_string.h:2488: error: template argument 2 is invalid
/usr/include/c++/4.4/bits/basic_string.h:2488: error: wrong number of template arguments (1, should be 3)
/usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
/usr/include/c++/4.4/bits/basic_string.h:2488: error: invalid type in declaration before ';' token
/usr/include/c++/4
|
||||||||||||||
ajutor |