摘要:
一、文章来由 const具体解释之二 二、const 取代 #define const最初动机就是取代 #define。 const 优于 #define: (1) #define没有类型检查,const在编译期(而不是预编译期)做类型检查。 (2)const方便调试和定位bug。 所以应该全然用c 阅读全文
posted @ 2017-08-01 20:59
mthoutai
阅读(284)
评论(0)
推荐(0)
浙公网安备 33010602011771号