Index:
[thread]
[date]
[subject]
[author]
From: Brian Robert Appel <bra2@acpub.duke.edu>
To :
Date: Fri, 05 Mar 1999 23:07:48 -0500
Re: fopen
The only thing I know is that is works fine if I use
string name = "HELLO.txt"; or if dirstreams then string name =
fname.path();
FILE * fPtr = fopen(name.c_str(),"r");
the other thing is problems might arise if you pass in directory paths so
you might want to check first
name.isDir() returns a bool
hope this helps ... but due to my late reply it probably doesn't matter
Jeffrey Kim wrote:
> Has anybody else had problems with fopen? I'm trying to read the files
> in a directory for goofi, but fopen sometimes is not able to read every
> file. Does anyone have an explanation? Any help would be appreciated.
>
> Jeff Kim
Index:
[thread]
[date]
[subject]
[author]