Nothing that is worth knowing can be taught

2016年7月22日 #

如何牢记C/C++中const的用法?

摘要: (下面以 typename 表示C/C++内某一类型 我常常会搞混 const 放在 typename* 的前面和后面的区别,今天特地查看了它们两个各自的含义,总结了一下: const typename* ptr 是指 ptr 是个指向常量的指针( pointer to constant data 阅读全文

posted @ 2016-07-22 17:40 Luxuer 阅读(201) 评论(0) 推荐(0)

导航