|Nov 3, 2008, 05:09 PM||#1|
C++ Xcode file location help!
Basically this is for my aero eng course, so no changing coding language
Im trying to open a file from where Xcode stores the executable, IE in the debug folder.
/* open file for input */ inf=fopen("datafile.txt","r");
I would like it to read from the Debug folder in the project folder.
I've tried a few things but with no success.
|Nov 3, 2008, 06:46 PM||#2|
Did you try something like
fopen ("/this/is/the/path/to/my/Debug/file.txt", "r")yet?
"Everyone knows the inch is better than the centimeter, because it is bigger."
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Carrier ipcc / plist file update / location help||groovs||Jailbreaks and iOS Hacks||7||Apr 14, 2011 03:49 PM|
|Reading and writing files and storage locations xcode||portreathbeach||iPhone/iPad Programming||1||Apr 2, 2011 06:22 PM|
|Help with c code for files||coopf||iPhone/iPad Programming||2||Nov 19, 2010 09:21 PM|
|XCode is not getting input from the file. C++ help needed.||petercdcn||Mac Programming||6||Apr 8, 2010 05:34 PM|
|Deleting Temporary Roxio Popcorn 2 Files - Location? Help!||Donz0r||Mac Applications and Mac App Store||1||Jan 13, 2007 12:53 PM|
All times are GMT -5. The time now is 10:47 AM.