Xcode and input/output files -


I have to input my input files straight into the root directory to see them, and the output file is always the same root .

How can I configure xcode to change input / output directories?

Your application should never make any assumption about the current workplace when it launched goes. It will be different from the command line or from the finder or through other methods when launched with Xcode. You must either use the full path for your input / output files (icky but can be acceptable for "research" type codes), or they must be placed in a specific location, or some other defining location Reliable way.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -