Virtual Functions in C ++ 虚函数
摘要:
先看看虚函数定义的:A virtual function is so named because it may, be used before it is defined // 是函数的调用在定义之前,不是函数声明late binding ordynamic binding(动态绑定)When you make a function virtual , you are telling the compiler “I do not knowhow this function is implemented. Wait until it is used in a program, and then 阅读全文
posted @ 2012-12-05 14:29 GIS-MAN 阅读(115) 评论(0) 推荐(0) 编辑