TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: all
from: Jim Sutemeier 70673,1754
date: 1991-11-18 09:27:53
subject: #C programming (fopen)

#: 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.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.