title: compare char* with each other
body: <p>I currently have a method called getResult which returns const char* now I am doing something like this</p>
  
  <pre><code>if(getResult=="Something")
  {
    ...
  }
  </code></pre>
  
  <p>However it seems this type of comparison doesn't work. Isn't "Something" also a const char pointer ?  or in this case are the addresses being compared?</p>