title: main's char *argv[] doesn't include arguments if stdin is file
body: <p>I'm a little newbie in C.</p>
  
  <pre><code>./main 7 4
  </code></pre>
  
  <p>This command in terminal causes that argv[1] = 7, argv[2] = 4.</p>
  
  <pre><code>./main &lt;input.in
  </code></pre>
  
  <p>When I use redirecting of stdin in terminal, it only shows argc = 1(./main).</p>
  
  <p>Is there any way how to solve this problem or do i have to try a different way?</p>