title: int main(int argc, char **argv ) with < stdin > stdout in c
body: <p>If I want to use one exe file with the command like this:</p>
  
  <pre><code>1.exe &lt; input.txt &gt; output.txt
  </code></pre>
  
  <p>To enter the file name into the C program which is used to modify the input file and output file, will it work?</p>
  
  <p>I have tried with <code>1.exe input.txt output.txt</code> it works. </p>
  
  <p>However, when I changed it into <code>1.exe &lt; input.txt &gt; output.txt</code>, it could not open the file.</p>
  
  <p>Even, I increased the pointer, <code>argv[1]</code> to <code>argv[2]</code> and <code>argv[2]</code> to <code>argv[4]</code>.</p>
  
  <p>So, what should I do with <code>1.exe &lt; input.txt &gt; output.txt</code> command? </p>