delorie.com/archives/browse.cgi | search |
From: | alain AT qnx DOT com (Alain Magloire) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Length of Chars... |
Date: | 25 Jan 2000 01:15:30 GMT |
Organization: | QNX Software Systems |
Lines: | 16 |
Distribution: | world |
Message-ID: | <86itfi$l1r$1@gateway.qnx.com> |
References: | <3888ED7B DOT DF52FEB2 AT ou DOT edu> <38896068 DOT 8C5927C0 AT is DOT elta DOT co DOT il> <388A0530 DOT DF2B2F31 AT ou DOT edu> <q72k8s8heuhu5c7198uioge8lc8kobjht8 AT 4ax DOT com> <86hklo$dot$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> |
NNTP-Posting-Host: | qnx.com |
X-Trace: | gateway.qnx.com 948762930 21563 209.226.137.1 (25 Jan 2000 01:15:30 GMT) |
X-Complaints-To: | usenet AT qnx DOT com |
NNTP-Posting-Date: | 25 Jan 2000 01:15:30 GMT |
X-Newsreader: | TIN [version 1.2 PL2] |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hans-Bernhard Broeker (broeker AT acp3bf DOT physik DOT rwth-aachen DOT de) wrote: ... : For short: char, like all the C data types, is implementation defined. : You should never assume it's 8 bits, if you can help it, as that : renders your program unportable. Yes. But If I recall ISO C requires that the size/range of the char types be defined in <limits.h>. Althought 8 bits is widely use I've heard of implementations that used 9 bits. -- au revoir, alain ---- Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |