Hi. I made this program so i could verify if a certain molecule is an Hydroxide (if it ends in "OH") or not (it´s not for fun, it's for school). I believe the code should be correct, but for some reason it gives me wrong when it should be right, and right when it should be wrong. What is the problem here?
When comparing the two c-strings it should give me 0 if they are equal but i debbuged the code and it gave me a value greater than 0. Why? Any Help would be great!
Thank You :)