So I have this code in Code::Blocks:
... (bunch of code, assigning places in vector to integers)
while( b != puzzleBox.end())
(bunch of more code)
The problem appears to be in the while statement, Code::Blocks says:
error: no match for 'operator!=' in 'b != puzzleBox.std::vector<_Tp, _Alloc>::end [with _Tp = int, _Alloc = std::allocator<int>]().__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator+ [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >](((const ptrdiff_t&)((const ptrdiff_t*)(&1))))'|
From what I can tell, Code::Blocks is not recognizing the != operator. Can someone please tell me what the problem is?
That solved my problem, thank you!