.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 632599

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 632599
Concurent: Octavian Dunel (Dunel Octavian)Progres: evaluare completă
Problemă: lgdrumPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 9 ian 2024, 19:13
Mesaj evaluator:
lgdrum.cpp: In function 'int main()': lgdrum.cpp:28: error: in C++98 'linie' must be initialized by constructor, not by '{...}' lgdrum.cpp:28: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:28: error: deducing from brace-enclosed initializer list requires #include <initializer_list> lgdrum.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>] lgdrum.cpp:28: error: in C++98 'coloana' must be initialized by constructor, not by '{...}' lgdrum.cpp:28: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:28: error: deducing from brace-enclosed initializer list requires #include <initializer_list> lgdrum.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>] lgdrum.cpp:71: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:71: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:96: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x lgdrum.cpp:96: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
ajutor