|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 623909
Mesaj evaluator:
insule.cpp:28: error: in C++98 'szi' must be initialized by constructor, not by '{...}'
insule.cpp:28: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:28: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
insule.cpp:28: error: no matching function for call to 'std::vector<int, std::allocator<int> >::vector(<brace-enclosed initializer list>)'
/usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>]
/usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = int, _Alloc = std::allocator<int>]
insule.cpp:28: error: in C++98 'szj' must be initialized by constructor, not by '{...}'
insule.cpp:28: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:28: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
insule.cpp:28: error: no matching function for call to 'std::vector<int, std::allocator<int> >::vector(<brace-enclosed initializer list>)'
/usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>]
/usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = int, _Alloc = std::allocator<int>]
insule.cpp: In function 'int main()':
insule.cpp:57: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:57: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:69: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:69: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:93: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:93: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:116: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
insule.cpp:116: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
|
||||||||||||||
ajutor |