Differences between running OSX App from Finder versus Xcode?
问题 Differences between running OSX App from Finder versus Xcode ??? System is iMac 27” all-in-1 running Mavericks OSX 10.9.5 and latest Xcode 6.0.1 The App reads a binary file and writes two text files, may re-write the binary file, and draws in a window client area. App totally runs in Xcode. App, binary file and two text files are in ~/Debug or ~/Release directory. No problem writing to files. File i/o code does this… std::fstream out( binary_file, std::ios::in|std::ios::binary); if ( out )