0_0_19135710_19452.cpp: In function 'int main()':
0_0_19135710_19452.cpp:43:26: error: request for member 'size' in 's.std::basic_string<_CharT, _Traits, _Alloc>::operator[]<char, std::char_traits<char>, std::allocator<char> >(((std::basic_string<char>::size_type)(j + 1)))', which is of non-class type 'char'
f(s[j+1].size()<s[j].size()) swap(s[j+1],s[j]);
^
0_0_19135710_19452.cpp:43:38: error: request for member 'size' in 's.std::basic_string<_CharT, _Traits, _Alloc>::operator[]<char, std::char_traits<char>, std::allocator<char> >(((std::basic_string<char>::size_type)j))', which is of non-class type 'char'
f(s[j+1].size()<s[j].size()) swap(s[j+1],s[j]);
^
0_0_19135710_19452.cpp:43:44: error: 'f' was not declared in this scope
f(s[j+1].size()<s[j].size()) swap(s[j+1],s[j]);
^
0_0_19135710_19452.cpp:44:15: error: request for member 'size' in 's.std::basic_string<_CharT, _Traits, _Alloc>::operator[]<char, std::char_traits<char>, std::allocator<char> >(((std::basic_string<char>::size_type)(j + 1)))', which is of non-class type 'char'
if(s[j+1].size()==s[j].size()&&s[j+1]<s[j]) swap(r[j+1],r[j]);
^
0_0_19135710_19452.cpp:44:28: error: request for member 'size' in 's.std::basic_string<_CharT, _Traits, _Alloc>::operator[]<char, std::char_traits<char>, std::allocator<char> >(((std::basic_string<char>::size_type)j))', which is of non-class type 'char'
if(s[j+1].size()==s[j].size()&&s[j+1]<s[j]) swap(r[j+1],r[j]);
^
|