How do i redirect input output to file instead of stdout?
<p>How can i redirect my input and output to a file?</p>

<p>Example if i execute my program as :-</p>

<pre><code>abc.exe &lt; input.txt &gt; output.txt
</code></pre>

<p>It should read input from input.txt and write output to output.txt</p>

<p>Thanks in advance :)</p>
