Multichar literals

Rainer Deyke rainerd at eldwood.com
Fri Nov 12 21:28:32 PST 2010


On 11/12/2010 20:02, bearophile wrote:
> In this language a single quote can encompass multiple characters.
> 'ABC' is equal to 0x434241.

I seem to recall that this is feature is also present in C/C++, although
I can't say that I've ever used it.


-- 
Rainer Deyke - rainerd at eldwood.com


More information about the Digitalmars-d mailing list