I'm not quite sure the difference between strcmp and == operator when comparing 2 different strings, I was told to do this but == works as well with less typing.
if ((strcmp (a, b[i]) == 0))
{
someMethod();
}
else
someOtherMethod();
_______________________________
if (a==b))
{
someMethod();
}
else
someOtherMethod();
Is any special reason to use to choose one over the other for comparing 2 strings?