Executing program with an DAT file and input
<p>How am I able to execute my C++ program together with a .DAT file and an input?</p>

<p>For example:
<code>./program.exe file.dat 5</code></p>

<p>Example of multiple command lines in file.dat:</p>

<pre><code>addpeer 12130
removepeer 13820
</code></pre>
