I'm new to programming on a mac. I've just finished a C++ program using Xcode. It opens an input file, reads the contents, then opens an output file and writes the results there. It works fine when I run it from Xcode. But, when I move the executable file to my desktop, and I move my input file to my desktop, it doesn't work. The program can't find the input file even though the executable and the input file are both on the desktop. Can someone explain why this is happening and the simplest way to fix it? Thank you.