title: const char * testing equality with a character
body: <p>I would like to return "jackpot" if there is only one character in "toParse" and the character is either "+" or "0". What is the most elegant way to do this? I tried this but apparently it does not work as it returns "jackpot" all the time for unknown reason.</p>
  
  <pre><code>char* ParseNRZI::parse(const char* toParse){
      if (toParse=="+"||toParse=="0")
          return "jackpot";
  }
  </code></pre>