会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
平安自在
博客园
新随笔
管理
2010年12月15日
讨论C语言中强制类型转换的用法
摘要: 今天写一个PIC单片机的程序,出现一个问题:uint16 adres = 0x00; float adre;adre = adre * 1000;adres = (uint)adre;如果是按上面的写法没有问题,但是如果这样写出就问题了,如下:uint16 adres = 0x00; float adre;adres = (uint)dre * 1000;还不明白为什么先把问题留在这里!
阅读全文
posted @ 2010-12-15 00:56 hnrainll
阅读(457)
评论(0)
推荐(0)
编辑
公告