reading legacy floppy disks
Mel Wilson
mwilson-4YeSL8/OYKRWk0Htik3J/w at public.gmane.org
Fri Sep 8 15:26:16 UTC 2006
Lennart Sorensen wrote:
> On Thu, Sep 07, 2006 at 07:27:42AM -0400, James Knott wrote:
>> When I took C at George Brown College in 1995, we could use 3.5"
>> floppies. However, in class we used Turbo C on Windows 3.1, while at
>> home I used Borland C on OS/2, so I had to be careful about variable
>> sizes. For example an int was 16 bits in Borland C, but only 8 in
>> Turbo. On occasion, my code would work fine at home, but crap out in
>> class because I'd overflowed a variable.
>
> Don't 8 bit integers violate the C standard? I thought it required
> integer to be at least 16 bits.
This recollection is rather strange. I'd been using Turbo C
since 1986 or so, and remember only 16-bit ints. My version ran
on a PC clone with 8088, so 16-bits was a normal size.
In 1995 Turbo C 2.0 was my preferred small language, for writing
little one-off utilities and the like. No hint of anything so
non-standard.
Cheers, Mel.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wini/Mailing_lists
More information about the Legacy
mailing list