prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:165:30: error: ‘undefined’ was not declared in this scope
char tempchar[6][50]=undefined;
^~~~~~~~~
prog.cpp:191:30: error: ‘undefined’ was not declared in this scope
char tempchar[6][50]=undefined;
^~~~~~~~~
prog.cpp:217:30: error: ‘undefined’ was not declared in this scope
char tempchar[6][50]=undefined;
^~~~~~~~~
prog.cpp:243:30: error: ‘undefined’ was not declared in this scope
char tempchar[6][50]=undefined;
^~~~~~~~~
prog.cpp:269:35: error: no match for ‘operator!=’ (operand types are ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ and ‘int’)
if(cin.getline(query,1000)!=0){
~~~~~~~~~~~~~~~~~~~~~~~^~~
prog.cpp:269:35: note: candidate: operator!=(int, int) <built-in>
prog.cpp:269:35: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘int’
In file included from /usr/include/c++/6/iosfwd:40:0,
from /usr/include/c++/6/ios:38,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/postypes.h:221:5: note: candidate: template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/6/bits/postypes.h:221:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::fpos<_StateT>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/ios:40,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/stl_pair.h:444:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/6/bits/stl_pair.h:444:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::pair<_T1, _T2>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/ios:40,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/stl_iterator.h:304:5: note: candidate: template<class _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator!=(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/6/bits/stl_iterator.h:304:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/ios:40,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/stl_iterator.h:361:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator!=(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/6/bits/stl_iterator.h:361:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/ios:40,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/stl_iterator.h:1125:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator!=(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/6/bits/stl_iterator.h:1125:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/ios:40,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/stl_iterator.h:1131:5: note: candidate: template<class _Iterator> bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator!=(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/6/bits/stl_iterator.h:1131:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/string:41:0,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/allocator.h:158:5: note: candidate: template<class _T1, class _T2> bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator!=(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/6/bits/allocator.h:158:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::allocator<_CharT>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/string:41:0,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/allocator.h:164:5: note: candidate: template<class _Tp> bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/6/bits/allocator.h:164:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::allocator<_CharT>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/string:52:0,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/basic_string.h:5112:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/6/bits/basic_string.h:5112:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/string:52:0,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/basic_string.h:5125:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator!=(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/6/bits/basic_string.h:5125:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: mismatched types ‘const _CharT*’ and ‘std::basic_istream<char>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/string:52:0,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/basic_string.h:5137:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/6/bits/basic_string.h:5137:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/bits/ios_base.h:46:0,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/system_error:311:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_code&)
operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/6/system_error:311:3: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘const std::error_code&’
/usr/include/c++/6/system_error:315:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_condition&)
operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/6/system_error:315:3: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘const std::error_code&’
/usr/include/c++/6/system_error:319:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_code&)
operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/6/system_error:319:3: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘const std::error_condition&’
/usr/include/c++/6/system_error:323:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_condition&)
operator!=(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/6/system_error:323:3: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘const std::error_condition&’
In file included from /usr/include/c++/6/bits/locale_facets.h:48:0,
from /usr/include/c++/6/bits/basic_ios.h:37,
from /usr/include/c++/6/ios:44,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from prog.cpp:1:
/usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: candidate: template<class _CharT, class _Traits> bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/vector:64:0,
from prog.cpp:4:
/usr/include/c++/6/bits/stl_vector.h:1533:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator!=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^~~~~~~~
/usr/include/c++/6/bits/stl_vector.h:1533:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::vector<_Tp, _Alloc>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/tuple:39:0,
from /usr/include/c++/6/unordered_map:41,
from prog.cpp:5:
/usr/include/c++/6/array:246:5: note: candidate: template<class _Tp, long unsigned int _Nm> bool std::operator!=(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
^~~~~~~~
/usr/include/c++/6/array:246:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::array<_Tp, _Nm>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/unordered_map:41:0,
from prog.cpp:5:
/usr/include/c++/6/tuple:1367:5: note: candidate: template<class ... _TElements, class ... _UElements> constexpr bool std::operator!=(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
operator!=(const tuple<_TElements...>& __t,
^~~~~~~~
/usr/include/c++/6/tuple:1367:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::tuple<_Elements ...>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/unordered_map:48:0,
from prog.cpp:5:
/usr/include/c++/6/bits/unordered_map.h:1774:5: note: candidate: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator!=(const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&)
operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
^~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:1774:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>’
if(cin.getline(query,1000)!=0){
^
In file included from /usr/include/c++/6/unordered_map:48:0,
from prog.cpp:5:
/usr/include/c++/6/bits/unordered_map.h:1786:5: note: candidate: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator!=(const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&)
operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
^~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:1786:5: note: template argument deduction/substitution failed:
prog.cpp:269:37: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>’
if(cin.getline(query,1000)!=0){
^
prog.cpp:271:36: error: ‘undefined’ was not declared in this scope
char splitword[5][200]=undefined;
^~~~~~~~~