C++中多继承和类型转换
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include"stdafx.h"structIX{virtualvoidFX()=0;};structIY{virtualvoidFY()=0;};classCA:publicIX,publicIY{virtualvoidFX(){printf("CA->FX()\n");}virtualvoidFY(){printf("CA-> 阅读全文
posted @ 2011-02-12 10:43 一颗麦粒 阅读(400) 评论(0) 推荐(0) 编辑