hmwk4.Documents.cpp: In member function ‘void Housing::prioritize()’:
hmwk4.Documents.cpp:40:18: error: base operand of ‘->’ has non-pointer type ‘houses’
hmwk4.Documents.cpp:40:59: error: base operand of ‘->’ has non-pointer type ‘houses’
hmwk4.Documents.cpp:56:18: error: base operand of ‘->’ has non-pointer type ‘houses’
hmwk4.Documents.cpp:56:59: error: base operand of ‘->’ has non-pointer type ‘houses’
hmwk4.Documents.cpp:72:21: error: no match for ‘operator!=’ in ‘((Housing*)this)->Housing::houses1[i] != 0l’
hmwk4.Documents.cpp:72:21: note: candidates are:
/usr/include/c++/4.6/bits/postypes.h:223:5: note: template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
/usr/include/c++/4.6/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
/usr/include/c++/4.6/bits/stl_iterator.h:297:5: note: template<class _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
/usr/include/c++/4.6/bits/stl_iterator.h:347:5: note: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&)
/usr/include/c++/4.6/bits/allocator.h:132:5: note: template<class _T1, class _T2> bool std::operator!=(const std::allocator<_T1>&, const std::allocator<_T2>&)
/usr/include/c++/4.6/bits/allocator.h:137:5: note: template<class _Tp> bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&)
/usr/include/c++/4.6/bits/basic_string.h:2473:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
/usr/include/c++/4.6/bits/basic_string.h:2485:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
/usr/include/c++/4.6/bits/basic_string.h:2497:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
/usr/include/c++/4.6/bits/streambuf_iterator.h:200:5: note: template<class _CharT, class _Traits> bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
hmwk4.Documents.cpp:72:40: error: base operand of ‘->’ has non-pointer type ‘houses’
hmwk4.Documents.cpp:72:83: error: base operand of ‘->’ has non-pointer type ‘houses’
hmwk4.Documents.cpp:84:43: error: cannot convert ‘houses’ to ‘const char*’ for argument ‘1’ to ‘int strncmp(const char*, const char*, size_t)’
hmwk4.Documents.cpp:96:42: error: cannot convert ‘houses’ to ‘const char*’ for argument ‘1’ to ‘int strncmp(const char*, const char*, size_t)’
hmwk4.Documents.cpp:108:26: error: ‘view_selection’ was not declared in this scope |