title: How to redirect the output of gcc compiler to a file?
body: <p>Redirection operator does not work. So how should we do it?
  One more question, in makefile, how can we give arguments from command line, like</p>
  
  <pre><code>run: a.out
      ./a.out **&lt;input&gt;**
  </code></pre>