Starting directory and fopen("..."), where does it start?
Starting directory and fopen("..."), where does it start?
- Subject: Starting directory and fopen("..."), where does it start?
- From: Alexandre Aybes <email@hidden>
- Date: Sat, 22 Dec 2001 04:00:55 +0100
Hi there,
I'm just porting one of the Nehe tutorials to Mac OS X, and I
have already fixed pretty much everything, except that fopen()
doesn't seem to find the files. :/
The file is physically in the build directory, inside the Data
directory, that is right next to the app, but still fopen
doesn't find.
#define MODEL_FILE "Data/model.txt"
FILE *In = fopen (MODEL_FILE, "rb");
Question: what did I do wrong? ;)
Thanks,
Alex.