26.07.2012, 11:32
Check out strcmp on the wiki, it's that simple
If correct, strcmp checks if the strings are NOT the same, therefore you must include a ! in front of it to check if they ARE the same. I have no idea about the true/false thing, considering that is the ignore case (whether or not it can be RED, ReD, reD, etcetra is allowed when true).
If correct, strcmp checks if the strings are NOT the same, therefore you must include a ! in front of it to check if they ARE the same. I have no idea about the true/false thing, considering that is the ignore case (whether or not it can be RED, ReD, reD, etcetra is allowed when true).