'initializing' :cannot convert from 'class A *' to 'class B *'int main(){A aa;B *pb=&aa;pb->g();return 0;}#includeclass A{public:void virtual g(){cout

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 09:50:52
xQMO@+P h=ShRnAIn- b1zL Bb x/X8x&̾7SbD(кEQjrMڬYN,n  p3ʡ\ Rbr&>TٜbոcQ8VZS%\`ŦI$wq/aK4bO@WDTd; %bjAƉ#nKfj_\ hxuߣE!l/>AU^F(^'.>/+/GM—`셷OA;j>dC+ A2)Џ[; , GbU7Z'