Linux-Hams archive - July 1998: Re: sizeof()

Re: sizeof()

Marin D (ozvz.wmqugzr@neurd.net)
Sun, 5 Jul 1998 16:43:34 +0300 (EET DST)


On Sun, 5 Jul 1998, Karl F. Larsen wrote:

->
-> This prints 4 in Linux and 2 (which is correct) using Borland C++.
->

The size of the C-base types depends on the precessor type and the OS
(Java is different for example, all types' sizes are specified)

If u want to deal with 2-byte ints define them 'short'

Marin

-= Why do we need gates in a world without fences? =-