title: Reading a file bytes when given as < in terminal using C
body: <p>I've looked extensively and can't find this, I'm sure I am searching for the wrong thing.</p>
  
  <p>Anyway, I need to read in a file given in terminal and output the byte code.  I can do this easily enough if I manually enter the file name as a char*, but I have no idea how to even start with this.</p>
  
  <p>A sample would be in the linux terminal:
  <code>$./a.out &lt;test.exe</code></p>
  
  <p>And it should print to the terminal the test.exe as byte code.  Thank you in advance for any help.</p>