sizeof(char)
Giorgos Keramidas
keramida at westnet.gr
Sun Nov 29 02:10:20 EET 1998
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?
Sumfwva me tous duo dnmiourgous tns C, sto biblio "The C Programming
Language" (ekdosn 2, Prentice-Hall Software series, ISBN: 960-209-053-7)
NAI mporei to mege0os tou `char' se kapoia sustnmata tou mellovtos
va eivai megalutero tou 1 gia va upostnriksei sustnmata kwdikopoinsns
opws to Unicode, n wide-characters opws xrnsimopoiouv twra stnv
Iapwvia [opou sizeof(wchar_t) == 2].
Gevika pavtws eivai kakn idea va ejartatai o kwdikas sou apo to mege0os
pou exouv ta dedomeva sou, kai sto protupo tns ANSI C to leei sav
sumbouln pws prepei va grafeis to `sizeof(char)' avti gia to `explicit
size' akomn ki av ksereis pws exei mia dedomevn timn :)
/keramida
--
====================================================================
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