0_0_37607770_15704.cpp: In function 'int main()':
0_0_37607770_15704.cpp:19:7: error: no match for 'operator+=' (operand types are 'std::string {aka std::basic_string<char>}' and 'void')
ss+=zhuan(s[i]);
^
0_0_37607770_15704.cpp:19:7: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
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++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37607770_15704.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:949:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
operator+=(const basic_string& __str)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:949:7: note: no known conversion for argument 1 from 'void' to 'const std::basic_string<char>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:958:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
operator+=(const _CharT* __s)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:958:7: note: no known conversion for argument 1 from 'void' to 'const char*'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:967:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
operator+=(_CharT __c)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:967:7: note: no known conversion for argument 1 from 'void' to 'char'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:980:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
operator+=(initializer_list<_CharT> __l)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:980:7: note: no known conversion for argument 1 from 'void' to 'std::initializer_list<char>'
|