title: Checking range with command line arguments
body: <p>Working on a simple C program I'm stuck with an if test:</p>
  
  <pre><code>int line_number = 0;
  if ((line_number &gt;= argv[2]) &amp;&amp; (line_number &lt;= argv[4]))
  </code></pre>
  
  <p>gcc says: </p>
  
  <pre>
  cp.c:25: warning: comparison between pointer and integer
  cp.c:25: warning: comparison between pointer and integer
  </pre>
  
  <p>What can I do to properly check the range of lines I want to deal with?</p>