title: How to run (and compile) a C file with arguments with gcc?
body: <p>I think it's a very simple question but I have less experience with command line. I have an old C program I want to run. It shows the following text:</p>
  
  <pre><code>/*      This is a stand-alone program intended to generate ...  It is called*/
  /*      as follows:                                                         */
  /*                                                                          */
  /*          tw_r2fft N &gt; outputfile.c                                       */ 
  /*      This program will generate the ... array 'w'                        */
  /*      and output the result to the display.  Redirect the                 */
  /*      output to a file as shown above.                                    */
  </code></pre>
  
  <p>I tried (in cmd):</p>
  
  <pre><code>gcc tw_r2fft.c 1024 &gt; outputfile.c
  </code></pre>
  
  <p>gcc's error message was:</p>
  
  <pre><code>gcc: 1024: No such file or directory
  </code></pre>
  
  <p>I tried some variations but without success.</p>
  
  <ul>
  <li>What is the right way?</li>
  <li>Where can I find a general description for cmd - to avoid a question at stackoverflow the next time? (I looked at <a href="http://gcc.gnu.org/onlinedocs/gcc-4.8.1/gcc/" rel="nofollow">http://gcc.gnu.org/onlinedocs/gcc-4.8.1/gcc/</a> but didn't find the answer efficiently)</li>
  </ul>