Message-ID: <388941BB.EFF71DCF@ou.edu> From: David Cleaver X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Length of Chars... References: <3888ED7B DOT DF52FEB2 AT ou DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 Date: Fri, 21 Jan 2000 23:35:55 -0600 NNTP-Posting-Host: 129.15.140.115 X-Complaints-To: usenet AT ou DOT edu X-Trace: news.ou.edu 948519284 129.15.140.115 (Fri, 21 Jan 2000 23:34:44 CST) NNTP-Posting-Date: Fri, 21 Jan 2000 23:34:44 CST Organization: The University of Oklahoma To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ummm, I guess when you say 8 bytes you mean 8 bits. And this wouldn't break the standard because a char is only typically defined as 8 bits. I was wondering if the compiler had anything to do with the size of a char. If the DJGPP team was thinking of, or even forsees the possiblity, of changing the length of the char from 8-bits to more, I was wanting to know. Is this a compiler issue, or is this a machine architecture issue? Does the size of the char depend on the word-size of a computer, or how does this work? Could someone please let me know. Thanks for your time. -David C. Wilmer van der Gaast wrote: > > On Fri, 21 Jan 2000 17:36:27 -0600, David Cleaver wrote: > > I was wondering if there were any plans on changing the number of bits > > in char from 8 to 16 or something like that? Not that I want this. > > It's just that in limits.h its explicitly defined as 8 bits and I was > > thinking that someone might change this in the future. > > It would not make any sense to change the char type into 16 bits, since > one character occupies 8 bytes. Changing this is breaking the standard, > well except for (shudder...) Unicode... :( > > -- > > Wilmer van der Gaast (lintux AT dds DOT nl) > ICQ 55707076 > > Hi, I'm a signature virus. plz set me as your signature and help me > spread :)