会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wangicter
博客园
首页
新随笔
联系
订阅
管理
2012年2月16日
(int&)a和(int)a, (int)&a, &a的区别
摘要: #include #include #include #include using namespace std;int main(){ float a = 1.0f; cout (a)(int)&a == reinterpret_cast (&a);&a取的是a的地址。(int)&a是将...
阅读全文
posted @ 2012-02-16 21:04 wangicter的博客
阅读(332)
评论(0)
推荐(0)
编辑
公告