Borderou de evaluare (job #1647987)

Utilizator mirunazMiruna Zavelca mirunaz Data 10 martie 2016 23:14:22
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void lee_r()’: user.cpp:24:13: error: reference to ‘next’ is ambiguous next.l=first.l+linie[h]; ^ user.cpp:10:15: note: candidates are: sheldon next sheldon first,next,rom,jul; ^ In file included from /usr/include/c++/4.8/bits/stl_algobase.h:66:0, from /usr/include/c++/4.8/bits/char_traits.h:39, from /usr/include/c++/4.8/string:40, from user.cpp:2: /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) next(_ForwardIterator __x, typename ^ user.cpp:25:13: error: reference to ‘next’ is ambiguous next.c=first.c+coloana[h]; ^ user.cpp:10:15: note: candidates are: sheldon next sheldon first,next,rom,jul; ^ In file included from /usr/include/c++/4.8/bits/stl_algobase.h:66:0, from /usr/include/c++/4.8/bits/char_traits.h:39, from /usr/include/c++/4.8/string:40, from user.cpp:2: /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) next(_ForwardIterator __x, typename ^ user.cpp:26:19: error: reference to ‘next’ is ambiguous if(vr[next.l][next.c]==-1) ^ user.cpp:10:15: note: candidates are: sheldon next sheldon first,next,rom,jul; ^ In file included from /usr/include/c++/4.8/bits/stl_algobase.h:66:0, from /usr/include/c++/4.8/bits/char_traits.h:39, from /usr/include/c++/4.8/string:40, from user.cpp:2: /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) next(_ForwardIterator __x, typename ^ user.cpp:26:27: error: reference to ‘next’ is ambiguous if(vr[next.l][next.c]==-1) ^ user.cpp:10:15: note: candidates are: sheldon next sheldon first,next,rom,jul; ^ In file included from /usr/include/c++/4.8/bits/stl_algobase.h:66:0, from /usr/include/c++/4.8/bits/char_traits.h:39, from /usr/include/c++/4.8/string:40, from user.cpp:2:

Ceva nu functioneaza?