char[] initialization
kris
foo at bar.com
Sat Jul 29 02:23:31 PDT 2006
Andrew Fedoniouk wrote:
> Could somebody shed light on the subject:
>
> According to http://digitalmars.com/d/type.html
>
> characters in D are getting initialized by following values
>
> char -> 0xFF
> wchar -> 0xFFFF
> dchar -> 0x0000FFFF
>
> what is the idea to have string initialized by valid character code instead
> of 0?
Try google?
http://www.digitalmars.com/d/archives/digitalmars/D/3239.html
More information about the Digitalmars-d
mailing list