0_0_21155869_28140.cpp: In function 'int main()':
0_0_21155869_28140.cpp:50:43: error: invalid conversion from 'll {aka long long int}' to 'const void*' [-fpermissive]
if(bsearch(p,w)){
^
0_0_21155869_28140.cpp:50:43: error: invalid conversion from 'int' to 'const void*' [-fpermissive]
0_0_21155869_28140.cpp:50:43: error: too few arguments to function 'void* bsearch(const void*, const void*, size_t, size_t, int (*)(const void*, const void*))'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:72:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_21155869_28140.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:352:17: note: declared here
void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *));
^
|