字符代码点与普通整数 [英] character code points versus plain integers
本文介绍了字符代码点与普通整数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我这样做:
if i do this:
展开 | 选择 | Wrap | 行号
推荐答案
''1''对于
代码点49,拉丁语1(以前称为ASCII)代码只是另一种表示法。9代码点值为57.所以基本上你加了49 + 57 。
亲切的问候,
Jos
''1'' is just another notation for the Latin 1 (formerly known as ASCII) code for the
code point 49. ''9'' has code point value 57. So basically you''re adding 49+57.
kind regards,
Jos
''1''只是
代码点49的拉丁文1(以前称为ASCII)代码的另一种表示法。 ''9'的代码点值为57.所以基本上你加了49 + 57。
亲切的问候,
Jos
''1'' is just another notation for the Latin 1 (formerly known as ASCII) code for the
code point 49. ''9'' has code point value 57. So basically you''re adding 49+57.
kind regards,
Jos
mcfaker,我的意思是,dorkz,你是否尝试将它放入编译器?
请使用代码标签未来。
mcfaker, I mean, dorkz, did you try putting it into a compiler?
And please use code tags in the future.
谢谢,但你的意思是在第一个带有撇号的例子中,结果将是:49 + 57 = 106,而106是字符''j'' ?你的意思是?
thanks , but you mean that in the first example with the apostrofs, the result will be : 49 + 57 = 106, and 106 is character ''j'' ??? do you mean that?
这篇关于字符代码点与普通整数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文