📄 10.4.cpp
字号:
#include <iostream.h>
class A
{
public:
void f1();
protected:
int a1;
private:
int a2;
};
class B:public A
{
public:
void f2();
protected:
void f3();
private:
int b;
};
class C:protected B
{
public:
void f4();
protected:
int c1;
private:
int c2;
};
class D:private C
{
public:
void f5();
protected:
int d1;
private:
int d2;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -