title: Scan an array using strcmp
body: <p>I'm wondering if there's a way you can scan an array for a match using <code>strcmp</code>. I know the parameters passed to <code>strcmp</code> are C strings. So something like this wouldn't work:</p>
  
  <pre><code>strcmp(arrayofstrings[x], c-string)
  </code></pre>