TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Jim Peasley 72726,1153 (X)
from: Mark B. Sheffield 76247,1332
date: 1990-12-19 08:13:02
subject: #8815-`C` problem

#: 8828 S3/Languages
    19-Dec-90  08:13:02
Sb: #8815-'C' problem
Fm: Mark B. Sheffield 76247,1332
To: Jim Peasley 72726,1153 (X)

Jim -

Yes. In addition to opening a file +t for text mode, you can open it +b for
binary. In MSC 5.0/5.1 the default mode is t. Sooo, it will default to text
mode.

You have two choices: set the extern global _fmode to O_BINARY ("b"), I think;
OR fopen the file +b.

Give this a try and let me konw how it works.

And BTW, keep your screwdriver ready!

-mark

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™.