I'm trying to do a I/O redirection to get input into my program from a file. I need to know where the executable file is located to enter it into the terminal. I'm on a mac, using Xcode, in C. Also, I can only use the terminal to get the input.
Go to Xcode > Preferences > Locations:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With