c++ - What's the value of characters in execution character set? -


quote c++03 2.2 character sets:

"the basic execution character set , basic execution wide-character set shall each contain members of basic source character set..the values of members of execution character sets implementation-defined, , additional members locale-specific."

according this, 'a', belongs execution character set, value implementation-defined. it's not 65(ascii code of 'a' in decimal), what?!

// not 65? printf ("%d", 'a'); 

or i've misunderstanding value of character in execution character set?

of course can ascii's 65, if execution character set ascii or superset (such utf-8).

it doesn't "it can't ascii", says called "the execution character set".


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -