0_0_36072046_18193.cpp: In function 'int main()':
0_0_36072046_18193.cpp:19:42: error: request for member 'strlen' in 's1', which is of non-class type 'char [20]'
}else if(s1[0] == s2[0] && s1[s1.strlen()-1] == s2[s2.strlen()-1] && s1..strlen() == s2..strlen()){
^
0_0_36072046_18193.cpp:19:63: error: request for member 'strlen' in 's2', which is of non-class type 'char [20]'
}else if(s1[0] == s2[0] && s1[s1.strlen()-1] == s2[s2.strlen()-1] && s1..strlen() == s2..strlen()){
^
0_0_36072046_18193.cpp:19:81: error: expected unqualified-id before '.' token
}else if(s1[0] == s2[0] && s1[s1.strlen()-1] == s2[s2.strlen()-1] && s1..strlen() == s2..strlen()){
^
0_0_36072046_18193.cpp:19:97: error: expected unqualified-id before '.' token
}else if(s1[0] == s2[0] && s1[s1.strlen()-1] == s2[s2.strlen()-1] && s1..strlen() == s2..strlen()){
^
0_0_36072046_18193.cpp:20:27: error: request for member 'strlen' in 's1', which is of non-class type 'char [20]'
sort(s1,s1+s1.strlen());
^
0_0_36072046_18193.cpp:21:27: error: request for member 'strlen' in 's2', which is of non-class type 'char [20]'
sort(s2,s2+s2.strlen());
^
|