- 课堂交流区
- 帖子详情
置顶
整数的类型转换是怎么做的?
叶卡林娜
发表于2018年12月21日
<p><span style="font-family: Arial, "Hiragino Sans GB", SimSun, 宋体, serif; line-height: 24px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">@@这是高阶的讨论,初学者可以围观,看不懂也没关系</span><br style="font-family: Arial, "Hiragino Sans GB", SimSun, 宋体, serif; line-height: 24px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/><br style="font-family: Arial, "Hiragino Sans GB", SimSun, 宋体, serif; line-height: 24px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/><span style="font-family: Arial, "Hiragino Sans GB", SimSun, 宋体, serif; line-height: 24px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">视频中做了两个整数转换的例子,32768转换成short和char。请你推测以下整数的转换是怎么做的,写代码验证一下,然后来汇报一下你的推测、代码和结果。</span></p>
49
回复
点击加载更多