! strcmp(a,b) is equality in c++, so the original code is correct