?? multinv.cpp
字號:
#include <iostream.h>
class One
{
public:
One(void) { cout << "Constructor for One\n"; };
};
class Two
{
public:
Two(void) { cout << "Constructor for Two\n"; };
};
class Three
{
public:
Three(void) { cout << "Constructor for Three\n"; };
};
class Derived: public One, public Three, public Two
{
public:
Derived(void) : One(), Two(), Three()
{
cout << "Derived constructor called\n"; };
};
void main(void)
{
Derived my_class;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -