1)默认的继承访问权限。struct是public的,class是private的。 代码: struct A { char a; }; struct B : A { char b; };这个时候B是public继承A的 ...
確定! 回上一頁