Topic: 怎样实现char 转 int?

  Print this page

1.怎样实现char 转 int? Copy to clipboard
Posted by: verwa
Posted on: 2005-12-19 20:33

rt!!
thanks!!

2.Re:怎样实现char 转 int? [Re: verwa] Copy to clipboard
Posted by: why
Posted on: 2005-12-19 23:10

cast the char, i.e.
char c = '\uffff';
int i = (int) c;

3.Re:怎样实现char 转 int? [Re: verwa] Copy to clipboard
Posted by: beauchen
Posted on: 2005-12-20 17:25

强制转换 (char)

4.Re:怎样实现char 转 int? [Re: beauchen] Copy to clipboard
Posted by: why
Posted on: 2005-12-20 19:32

beauchen wrote:
强制转换 (char)

Please read carefully before you reply to a questionSad
怎样实现char 转 int

5.Re:怎样实现char 转 int? [Re: verwa] Copy to clipboard
Posted by: verwa
Posted on: 2005-12-21 03:12

已经解决
多谢!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923