Path Problem
Path Problem
- Subject: Path Problem
- From: "Sharayu Puranik" <email@hidden>
- Date: 24 Nov 2004 04:52:28 -0000
hi
I do have one problem with setting path of files
I m using file related functions like fopen, fclose, fread, fwrite in Xcode
Objective-C project
the problem I m facing is ;
say, I have to open one text file present on Macintosh HD volume
then I write the following code
filePath = @"Macintosh HD:file1.txt";
filePtr = fopen(filePath,"r");
when I execute this code, the project crashes
but if I write
filePath = @"file1.txt";
filePtr = fopen(filePath,"r");
where file1.txt file is present in current project directories Build folder then code
works smoothly
so how should the path of files be written?
means how to code path for files which r not in current project directory??
thanx
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden