sizeof(char)
Christos Cheretakis
xalkina at otenet.gr
Sat Nov 28 23:13:19 EET 1998
Michalis Kabrianis wrote:
>
> On 28-Nov-98 Nikos Mavroyanopoulos wrote:
> > Ligo asxeth h erwthsh, alla shmantiki gia mena. Yparxoun systimata opou
> > to sizeof(char) na einai megalytero tou 1 ?
> > Einai kati dedomeno h mporei na allazei opws tou int?
> > euxaristw...
> >
> > --
> >
> > Nikos G.Mavroyanopoulos
> > nmav at i-net.paiko.gr
> > finger/pgpkey: ma06205 at hermes.cc.uoi.gr
>
> Den kserw, alla thetw ton problimatismo mou.
> To char einai apla ena unsigned int apo 0 ews 256 gia to opoio mia thesi
> ftanei, ARA prepei na einai panta 1.
> To size tou int allazei, epeidi allazoun ta oria tou int, etsi den einai?
> Stin Java twra, nomizw oti xrisimopoieitai unicode systima, opote prepei na
> einai megalytero (kai nomizw oti einai 4).
>
> Pantws me endiaferei kai emena na mathw tin apantisi.
>
> Michalis Kabrianis
> kabrianis at hellug.gr
O kyrios Stroustrup anaferei pvs sizeof (char) = 1 ej orismoy! Uymamai
na 'xv dei kati paromoio kai gia th C, alla ayth th stigmh den to
briskv.
Xrhstos
--
Fys', aeraki, fysa me
Mh xamhlvneis isame
Na dv tsh Krhths mia korfh
Poy 'xv manoyla ki aderfh
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list