c++中的继承

来源:互联网 发布:omgvsig淘宝权瞎子 编辑:程序博客网 时间:2024/05/19 14:16

c++里的继承对每个类前面都必须加一个修饰,比如public, private,protected否则就会被当private处理