摘要: 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) 编辑