Use strcmp (short for string compare) to compare two strings. You can see this used in Recipe 2.7: if(strcmp(str, "Arduino") == 0) // do something if the ...
確定! 回上一頁