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!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t tested it, but putting “< testfile.txt” in the scheme’s command line arguments may work. Apparently doing something similar worked for an earlier version of Xcode.