阅读背景:

如何将QChar转换为整数?

来源:互联网 

In C++ there is a way to cast a char to int and get the ascii value in return. Is there such a way to do the same with a qchar? Since unicode supports so many characters and some of them are actually looking alike, it is sometimes hard to tell what one is dealing with. An explicit code point or a number that can be used to get such would be very helpful. In C++ there is a way to cast a char to int and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: