cas a 32-bit platformy

Martin 'Goran' Moravec goran na ipp.cas.cz
Středa Červen 14 18:58:19 CEST 2000


> > 4) operator sizeof nerika, kolik bajtu ma dany typ, ale kolikrat je vetsi,
> > nez char. To nemusi byt shodne s bajtem, viz predchozi bod 3.
> >
> 
> Coze? Sizeof nevraci velikost v bajtech? Tak to je pro mne neco noveho.
> Schvalne jsem se stavil v knihkupectvi a treba v D.Louis,P. Mejzlik, M. Virius
> - Jazyk C a C++ podle normy ANSI/ISO (Kompletni kapesni pruvodce)
> je napsano ze sizeof() vraci hodnotu v bajtech...
> 
>             Ivan Cicha
> 
Ale ale, vite jakej by to byl pruser, (damy prominou) kdyby sizeof(char)!=1
:-)


-- 
--
    A novice was trying to fix a broken lisp machine by turning the
power off and on.  Knight, seeing what the student was doing spoke sternly,
"You cannot fix a machine by just power-cycling it with no understanding
of what is going wrong."  Knight turned the machine off and on.  The
machine worked.			
--					Just another from of life
						Goran


Další informace o konferenci Linux