会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
渡万丈红尘
博客园
首页
新随笔
联系
管理
订阅
2018年3月6日
const typedef #define
摘要: const : const修饰的什么,什么不会变。例如 int b=500; int const *a=b;const修饰*a 则*a不会变,而a可以变 int * const a=b;const修饰a 则a不会变,而*a可以变 看const修饰的是什么时,先把类型名去了再看 typedef: 给类
阅读全文
posted @ 2018-03-06 22:54 渡万丈红尘
阅读(98)
评论(0)
推荐(0)
编辑
公告