摘要: the two keyword are aimed at virtual functionfinal final function must be a virtual funtion , final means that the base virtual function can not be... 阅读全文
posted @ 2015-11-21 15:36 Jonas0608 阅读(202) 评论(0) 推荐(0) 编辑
摘要: A C++ program can be made easier to read and maintain by using references rather than pointers. A C++ function can return a reference in a similar way... 阅读全文
posted @ 2015-11-21 14:26 Jonas0608 阅读(209) 评论(0) 推荐(0) 编辑
摘要: polymorphism without virtual function 阅读全文
posted @ 2015-11-21 13:08 Jonas0608 阅读(132) 评论(0) 推荐(0) 编辑