How to use a text file as standard input to test my program in XCode 4.33
===

I'm having trouble figuring out how to test my program using XCode.  I usually edit in the command line with vim, but am trying to transition to an IDE.  I'm sure there is an easy way to do the equivalent of `homework.out < testfile.txt`

Thanks!