Using char *s and strcmp function in c++
<p>I have two char* references and I am trying to figure out which one is less. The code I have is:</p>

<pre><code>bool stringComparison::lessThan(char *s1, char* s2) {
  int result = strcmp(*s1,*s2);
  return result &lt; 0;
};
</code></pre>

<p>the result is not producing less than 0 ever. How do I need to change the "int result" line to make this work?</p>

<p>thanks</p>
