how do i do this?
it keep showing "not palindrome" even thought i insert "ada"
nvm. solved it
this looks like my cs homework in 7th grade
nice one
it compares the addresses not the strings
use strcmp or cpp strings
>>15534
You could stop being fucking fancy with the string reverse and just run a for loop based on the length of the string and check if first position and last position are equal etc
>>15628
You could, but that wouldn't work with Unicode.
>>15633
strrev can? I doubt
>>15642
http://rosettacode.org/wiki/Reverse_a_string#C has the same API.
>>15649
so based on your locale encoding it might mangle your char array
this is some nasty behavior