12
返回列表 发新帖
楼主: 天涯浪子2

一个简单的问题

[复制链接]
论坛徽章:
0
11#
 楼主| 发表于 2006-6-12 20:58 | 只看该作者
谢谢楼上的兄弟,不过你给的地址打不开?还有吗?

使用道具 举报

回复
论坛徽章:
0
12#
 楼主| 发表于 2006-6-13 20:47 | 只看该作者
继续中。。。。

使用道具 举报

回复
论坛徽章:
4
参与2007年甲骨文全球大会(中国上海)纪念
日期:2007-08-06 15:19:02会员2007贡献徽章
日期:2007-09-26 18:42:10
13#
发表于 2006-6-14 14:58 | 只看该作者
I find an easy way to do this job: Numerical conversation.
[php]
int unicodeValue = c; //an implicit widening conversation happend here.
System.out.println("The unicode of c is: " + unicodeValue);
[/php]

使用道具 举报

回复
论坛徽章:
0
14#
发表于 2006-6-14 16:48 | 只看该作者
en , you have done a good job~

最初由 frenchletter 发布
[B]I find an easy way to do this job: Numerical conversation.
[php]
int unicodeValue = c; //an implicit widening conversation happend here.
System.out.println("The unicode of c is: " + unicodeValue);
[/php] [/B]

使用道具 举报

回复
论坛徽章:
0
15#
 楼主| 发表于 2006-6-14 20:25 | 只看该作者
我去试试看,不知和(int)char(c) 有什么区别,多谢了!

使用道具 举报

回复
论坛徽章:
4
参与2007年甲骨文全球大会(中国上海)纪念
日期:2007-08-06 15:19:02会员2007贡献徽章
日期:2007-09-26 18:42:10
16#
发表于 2006-6-15 09:16 | 只看该作者
最初由 天涯浪子2 发布
[B]我去试试看,不知和(int)char(c) 有什么区别,多谢了! [/B]

It has the same effect. One is implicit conversation. The other is explicit conversation. When it's a widening convesation, so no need to use (int)

使用道具 举报

回复
论坛徽章:
0
17#
发表于 2006-6-15 12:23 | 只看该作者
哈哈!你要搞清楚字符集的概念哦!
ASCII字符集中是没有汉字的!

使用道具 举报

回复
论坛徽章:
0
18#
 楼主| 发表于 2006-6-15 21:36 | 只看该作者
不管什么方法,只要能区分开就好

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表