Quote:
|
Originally Posted by karlos
try this:
Code:
if (isalpha(text[i]) && equal(text[i], text2[i], 1) ) {
compare text1 and text2 but only 1 char
|
Just recompiled and I'm waiting for the next map change to test it, but even if equal works like it should I still have no way of getting only a simgle character so the isalpha won't work like it should
Edit: Just tested and it's not working, probably because isalpha is returning false because of the null character terminating the string.
__________________