I am trying to write a command-line application with XCode.
My application takes input from stdin. The way I normally use it is to use redirection to specify the input file. For example:
program < input.txt
In XCode, this is presumably specified by creating an executable and editing...