title: Code Blocks redirecting input output
body: <p>I'm new to code blocks, and I can't seem to get it to work with command line arguments of &lt; input > output. Does anyone know how to?</p>
  
  <p>I'm currently able to read a file passed from argv[1] but, the program doesnt automatically read the input from the given file nor does it right the output to the file output.</p>
  
  <p>I'm aware it is on set program's arguments, my arguments line is: list.txt &lt; input > output</p>
  
  <p>After some research I saw a guy doing it like this: &lt; ./input > ./output, seems like running a program to give the input and output, anyways, I've also tried that to no avail. Do I need to use file handlers to interact with it? It doesn't make sence, simple getchar() should read from the passing input file.</p>
  
  <p>What am I missing here?</p>
  
  <p>Thanks in advance</p>