🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2648

Re: wchar_t values

#2648
From: Doug Gwyn
Date: Sat, 30 Mar 1991 14:39
9 lines
809 bytes
In article <990@sranha.sra.co.jp> erik@sra.co.jp (Erik M. van der Poel) writes:
>Which of the following two conditions is the correct interpretation of
>the ANSI C standard:
>	('c' == L'c')
>	('c' == ((char) L'c'))

Neither one, although the first one is close.  The numerical values
of these two (possibly distinct) integer types shall be the same.
Note, by the way, that 'c' has type int.
Technical Details
Message-ID: <15640@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!caen!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!adm!smoke!gwyn
References: <990@sranha.sra.co.jp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!caen!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: wchar_t values
Message-ID: <15640@smoke.brl.mil>
Date: 30 Mar 91 14:39:16 GMT
References: <990@sranha.sra.co.jp>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 9