Test of equality using if statement in C++
<p>This might be a stupid question to a experience programmer... but anyway, I just want to figure out. What's the difference between <strong>if("Hello"==$helloString)</strong> and <strong>if(helloString=="Hello")</strong>? I thought the order in a if statement doesn't matter but I guess there must be something wrong with my thought. So could someone expalin it to me? Like in what kind of situation would one use the first/second if statement to do the test of equality? Thanks!! </p>
