2015年12月5日

摘要: pointer to const object andconst pointer,1.指向常量对象的指针,意思是指针所指向的 对象内容不能变(不能够通过指针赋值)。2.常量指针,意思是指针内容不能变,指向对象a就不能改为指向对象b(指针不能指向别处)。(简单来说就是const挨着哪个近,哪个就不能变... 阅读全文
posted @ 2015-12-05 21:31 allen__ 阅读(468) 评论(0) 推荐(0)

导航