Why do we even use strcmp???
Posted: Sun Nov 14, 2004 1:11 pm
I have done some small tests using === and strcmp(), and they gave the same results on the same strings... Personally I think it's a lot easier to use === instead of strcmp, but since strcmp is available I guess it is more secure than ordinary comparison. Is there some cases where the === operator will fail, and strcmp not?
Regards tores
Regards tores