Currently I am developing a couple of C programs on my mac using Xcode. There however is 1 problem. My study requires me to use some sort of input field through the coding.
HOWTO Pass command line arguments to your program from Xcode IDE
/phi as the first argument, then 10 as the second.Noteworthy: This is also where you can specify the current working directory of your program at launch rather than the long, temp path Xcode uses when building your binaries. To do so:
That in combination with getting your parameter handling fixed in your program should get you up and running.