0_0_23777940_3493.cpp: In function 'void Insert(char*)':
0_0_23777940_3493.cpp:18:13: error: cannot convert 'Tire' to 'Tire*' in initialization
Tire* p=root;
^
0_0_23777940_3493.cpp: In function 'void Find(char*)':
0_0_23777940_3493.cpp:28:13: error: cannot convert 'Tire' to 'Tire*' in initialization
Tire* p=root;
^
0_0_23777940_3493.cpp:32:20: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
0_0_23777940_3493.cpp:35:15: error: return-statement with a value, in function returning 'void' [-fpermissive]
return p->num;
^
0_0_23777940_3493.cpp: In function 'int main()':
0_0_23777940_3493.cpp:39:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(word[0]==" "||strlen(word)==0){
^
0_0_23777940_3493.cpp:44:22: error: reference to 'search' is ambiguous
while(scanf("%s",search)!=EOF){
^
0_0_23777940_3493.cpp:4:6: note: candidates are: char search [11]
char search[11];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_23777940_3493.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4050:5: note: template<class _FIter1, class _FIter2, class _BinaryPredicate> _FIter1 std::search(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate)
search(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4010:5: note: template<class _FIter1, class _FIter2> _FIter1 std::search(_FIter1, _FIter1, _FIter2, _FIter2)
search(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
^
0_0_23777940_3493.cpp:45:28: error: reference to 'search' is ambiguous
printf("%d\n",Find(search) );
^
0_0_23777940_3493.cpp:4:6: note: candidates are: char search [11]
char search[11];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_23777940_3493.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4050:5: note: template<class _FIter1, class _FIter2, class _BinaryPredicate> _FIter1 std::search(_FIter1, _FIter1, _FIter2, _FIter2, _BinaryPredicate)
search(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4010:5: note: template<class _FIter1, class _FIter2> _FIter1 std::search(_FIter1, _FIter1, _FIter2, _FIter2)
search(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
^
|