Checking argv[] against a string? (C++)
<p>So I'm attempting to check the arguments that I'm inputting into my program, and one of them is either the word "yes" or "no", entered without the quotes. </p>

<p>I'm trying to test equivalency ( if (argv[n] == "yes") ) but that seems to be returning false every time when the input is, in fact, yes(When I output it it confirms this). What am I missing here that I'm doing improperly?
If I understand properly argv[n] returns a cstring that is null-terminated, so it should allow me to do this.</p>
