Mail Archives: djgpp/1996/12/24/01:06:56
Tony O'Bryan wrote:
> In MS-DOS, you have the option of using binary or text files. Which
> is the default is compiler dependent, so you should always specify
> which mode you want to use.
You have this option under Unix and other operating systems as well, and
you should use it. The ANSI C standard, for instance, doesn't guarantee
that certain file operations (like fseek/ftell) will operate in the same
way on text vs. binary files, even on operating systems where there is
little difference.
--
Erik Max Francis | max AT alcyone DOT com
Alcyone Systems | http://www.alcyone.com/max/
San Jose, California | 37 20 07 N 121 53 38 W
&tSftDotIotE | R^4: the 4th R is respect
"You must surely know if man made heaven | Then man made hell"
- Raw text -