#: 13101 S12/OS9/68000 (OSK)
18-Nov-91 09:27:53
Sb: #C programming (fopen)
Fm: Jim Sutemeier 70673,1754
To: all
I've asked a couple of C programmers out here in L.A., and neither of them have
ever used the directory read from fopen .....
e.g.: fp=fopen("/dd/com", "d");
If anyone here has used this action, I've a couple of questions.
1) How would you read in the files within the directory, as chars into memory,
then manipulate??
2) How do I test for end of directory?? a NULL or what??
Any other info about this option would be helpful.....never have used it, and
apparently many programmers haven't either.
Thanks
jim Sutemeier
There are 3 Replies.
|