On Apr 28, 8:46=A0pm, Tom Harrington <t...@[EMAIL PROTECTED]
>
wrote:
> In article
> <0a83773e-121f-403a-916d-bfc18e676...@[EMAIL PROTECTED]
>,
>
> =A0SpreadTooThin <bjobrie...@[EMAIL PROTECTED]
> wrote:
> > on an iPhone application?
> > is there a filesystem?
> > I have an application that reads text files and its failing to open a
> > file that is bundled with the application.
>
> > =A0 =A0fb.open (fname.c_str(), std::ios::in);
>
> > this call fails... (I know its C++, but that I don't think is the
> > issue)
>
> Well, are you sure that fname has a valid path? =A0That's the obvious
> thing to check, and if you're not even sure if a filesystem is
> available, how do you know you've got a valid path on that filesystem?
>
I checked the path/filename and it exists under the simulator,
But remember I'm running in the simulator and I just don't know how
closely the simulator is to the actual device.
> --
> Tom "Tom" Harrington
> Independent Mac OS X developer since 2002http://www.atomicbird.com/


|