Trouble with Xcode file i/o using C ?
I'm using Xcode on my Mac to do projects in C++ for a class. My school uses Visual Studio, and for that program when you input or output to a file, it looks in the same folder where the .cpp file is located. But it appears that's not the case for Xcode.
My question is, is there a way to go into Xcode's preferences and change the directories somehow to make the file i/o directories the same as for Visual Studio? i.e., when I output a file, I want it to go into the same folder as the source code; and when I read a file I want it to look in that folder also.
Thank you very much for any help.
MacBook Pro with Retina display, OS X Mountain Lion (10.8.4)