|
|
LB |
1>------ Build started: Project: CustomerQueueNumberingSystem, Configuration: Debug Win32 ------ 1> Customer.cpp 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(82): error C2679: binary '=': no operator found which takes a right-hand operand of type 'customerList' (or there is no acceptable conversion) 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\queue(101): note: could be 'std::queue<int,std::deque<_Ty,std::allocator<_Ty>>> &std::queue<_Ty,std::deque<_Ty,std::allocator<_Ty>>>::operator =(std::queue<_Ty,std::deque<_Ty,std::allocator<_Ty>>> &&) noexcept(<expr>)' 1> with 1> [ 1> _Ty=int 1> ] 1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\queue(43): note: or 'std::queue<int,std::deque<_Ty,std::allocator<_Ty>>> &std::queue<_Ty,std::deque<_Ty,std::allocator<_Ty>>>::operator =(const std::queue<_Ty,std::deque<_Ty,std::allocator<_Ty>>> &)' 1> with 1> [ 1> _Ty=int 1> ] 1> c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(82): note: while trying to match the argument list '(std::queue<int,std::deque<_Ty,std::allocator<_Ty>>>, customerList)' 1> with 1> [ 1> _Ty=int 1> ] 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(83): error C2039: 'end': is not a member of 'std::queue<customerList,std::deque<_Ty,std::allocator<_Ty>>>' 1> with 1> [ 1> _Ty=customerList 1> ] 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(95): error C2039: 'begin': is not a member of 'std::queue<customerList,std::deque<_Ty,std::allocator<_Ty>>>' 1> with 1> [ 1> _Ty=customerList 1> ] 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(100): error C2039: 'end': is not a member of 'std::queue<customerList,std::deque<_Ty,std::allocator<_Ty>>>' 1> with 1> [ 1> _Ty=customerList 1> ] 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(105): warning C4553: '==': operator has no effect; did you intend '='? 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(107): error C2181: illegal else without matching if 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(108): error C2676: binary '++': 'std::queue<int,std::deque<_Ty,std::allocator<_Ty>>>' does not define this operator or a conversion to a type acceptable to the predefined operator 1> with 1> [ 1> _Ty=int 1> ] 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp(112): error C2365: 'Sleep': redefinition; previous definition was 'function' 1> c:\program files (x86)\windows kits\8.1\include\um\synchapi.h(908): note: see declaration of 'Sleep' ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
AbstractionAnon |
1. Error C2679 binary '=': no operator found which takes a right-hand operand of type 'customerList' (or there is no acceptable conversion) CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 82 2. Severity Code Description Project File Line Error (active) no operator "=" matches these operands CustomerQueueNumberingSystem c:\Users\user\Documents\Visual Studio 2015\Projects\CustomerQueueNumberingSystem\CustomerQueueNumberingSystem\Customer.cpp 82 3. Severity Code Description Project File Line Error C2039 'end': is not a member of 'std::queue<customerList,std::deque<_Ty,std::allocator<_Ty>>>' CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 83 4. Severity Code Description Project File Line Error (active) class "std::queue<customerList, std::deque<customerList, std::allocator<customerList>>>" has no member "end" CustomerQueueNumberingSystem c:\Users\user\Documents\Visual Studio 2015\Projects\CustomerQueueNumberingSystem\CustomerQueueNumberingSystem\Customer.cpp 83 5. Severity Code Description Project File Line Error C2039 'begin': is not a member of 'std::queue<customerList,std::deque<_Ty,std::allocator<_Ty>>>' CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 95 6. Severity Code Description Project File Line Error (active) class "std::queue<customerList, std::deque<customerList, std::allocator<customerList>>>" has no member "begin" CustomerQueueNumberingSystem c:\Users\user\Documents\Visual Studio 2015\Projects\CustomerQueueNumberingSystem\CustomerQueueNumberingSystem\Customer.cpp 95 7. Severity Code Description Project File Line Error C2039 'end': is not a member of 'std::queue<customerList,std::deque<_Ty,std::allocator<_Ty>>>' CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 100 8. Severity Code Description Project File Line Error (active) class "std::queue<customerList, std::deque<customerList, std::allocator<customerList>>>" has no member "end" CustomerQueueNumberingSystem c:\Users\user\Documents\Visual Studio 2015\Projects\CustomerQueueNumberingSystem\CustomerQueueNumberingSystem\Customer.cpp 100 9. Severity Code Description Project File Line Warning C4553 '==': operator has no effect; did you intend '='? CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 105 10. Severity Code Description Project File Line Error C2181 illegal else without matching if CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 107 12. Severity Code Description Project File Line Error (active) expected a statement CustomerQueueNumberingSystem c:\Users\user\Documents\Visual Studio 2015\Projects\CustomerQueueNumberingSystem\CustomerQueueNumberingSystem\Customer.cpp 107 13. Severity Code Description Project File Line Error C2676 binary '++': 'std::queue<int,std::deque<_Ty,std::allocator<_Ty>>>' does not define this operator or a conversion to a type acceptable to the predefined operator CustomerQueueNumberingSystem c:\users\user\documents\visual studio 2015\projects\customerqueuenumberingsystem\customerqueuenumberingsystem\customer.cpp 108 |