1. error c2011:"Cobject":"class"type redefinition 头文件重复包含:#ifndef #define #endif
2. error C2243: 'type cast ' : conversion from 'class CTeacher * ' to 'class CBase * ' exists, but is inaccessible 继承的时候没有公有继承,漏写了public
1. error c2011:"Cobject":"class"type redefinition 头文件重复包含:#ifndef #define #endif
2. error C2243: 'type cast ' : conversion from 'class CTeacher * ' to 'class CBase * ' exists, but is inaccessible 继承的时候没有公有继承,漏写了public