摘要: 1.const 和 define 异同 同:const 和 define都是修饰常量 异:const修饰的常量只是编译器的一种优化,它是可以通过内存地址修改const修饰的常量;而define修饰的常量任何方式都不能修改 2.int const a 和const int a 是一样的,都表... 阅读全文
posted @ 2014-11-24 18:12 Vivu 阅读(146) 评论(0) 推荐(0) 编辑