TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KURT KUZBA
from: JONATHAN DE BOYNE POLLARD
date: 1998-02-27 20:00:00
subject: `/a`=?

 JdP>>>   Borland's C++ compilers *do* support multi-character
 JdP>>>   character literals as a language extension.
 WM>>   No offense to Borland, but... in God's name, why?
 KK>    Some languages have more than 256 characters and require
 KK>    more than eight bits to handle the whole character set.
 KK>    The ANSI standard actually supports a large character type.
Multi-character character literals are not the same as wide character 
literals.  They are, in fact, two different things.  Hence:
        'c' ;    // Single character character literal, type `char'
        'ac' ;   // Multi-character character literal, type `int'
        L'c' ;   // Single character wide character literal, type `wchar_t'
        L'ac' ;  // Multi-character wide character literal, type `wchar_t'
`int' isn't the same as `wchar_t' in Standard C++, either.
 ¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.