2011年8月5日

     摘要: One typical example on Virtual Method and Pure Virtual Method  阅读全文

posted @ 2011-08-05 12:22 于江浩 阅读(158) | 评论 (0)编辑 收藏

     摘要: Difference among static, const and static const:
static variable: we can't reinitialize the variable but we can update
const variable: we can't update the variable
static const variable: we can't reinitialize and can't update the variable  阅读全文

posted @ 2011-08-05 11:43 于江浩 阅读(258) | 评论 (0)编辑 收藏

     摘要: Try to explain: how to use the const reference in the argument of a method of class,

classA::method(const classA& object)

, and why should we use it.   阅读全文

posted @ 2011-08-05 08:22 于江浩 阅读(209) | 评论 (0)编辑 收藏