| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | #4897-Help `c` problem again |
#: 4900 S3/Languages
05-Jul-90 13:17:41
Sb: #4897-Help 'c' problem again
Fm: Pete Lyall 76703,4230
To: Tom Breton 71141,3433 (X)
Tom -
[butting in..]
Are you using low level (read()) or high level (fread(), gets(), getchar(),
etc.)?
If high level, try setting buffering off, i.e.
setbuf(stdin,0);
Also - in MSDOS land, they distinguish between text a binary file types (at
least when reading/writing the files)... Try setting your file type variable to
O_BINARY (check your docs)...
Pete
|
|
| 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™.