reading legacy floppy disks

Scott Allen scotta-cpI+UMyWUv9BDgjK7y7TUQ at public.gmane.org
Sun Sep 10 11:30:37 UTC 2006


On Sun Sep 10,2006 04:09:09 AM John Macdonald wrote:
> But it is not consistant with the other rule about the
> size of an int - an int has to have enough bits to
> hold a pointer.

I don't believe that this statement is correct. A pointer can be 
converted to an "integral type", which can be an int, short int, or 
long int. Therefore, a plain "int" can be 8 bits even if a pointer 
requires 16 bits. On such a system the pointer could be held in a 
long int (assuming that on this system a long int is at least 16 
bits).


-- 
** Scott Allen   scotta-cpI+UMyWUv9BDgjK7y7TUQ at public.gmane.org **
**     Toronto, Ontario, Canada     **
--
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