会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
snowfox雪狐
snowfox
博客园
首页
新随笔
联系
订阅
管理
2019年5月14日
C++类型转换
摘要: C的所有强制类型转换(Type Cas t)都是:Type a = (Type)b C++提供了四种类型转换,格式:Type a = static_cast<TYpe> (b) static_cast:静态类型转换,例如将char转换int reinterpret_cast:重新解释类型,不同类型之
阅读全文
posted @ 2019-05-14 19:47 snowfox雪狐
阅读(150)
评论(0)
推荐(0)
编辑
公告