char a[]="aaaaaa", b[]="bbbbb";

if(strcmp(a,b))とか
if((string)a = (string)b)