b1.h
来自「虚基类中指针的使用 这是教您使用C中的虚基类中指针的使用的使示例代码」· C头文件 代码 · 共 25 行
H
25 行
// B1.h: interface for the B1 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_B1_H__C571C92C_CF29_4B92_8C27_70306C5BBE1E__INCLUDED_)
#define AFX_B1_H__C571C92C_CF29_4B92_8C27_70306C5BBE1E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "B0.h"
#include <iostream.h>
class B1 : public B0
{
public:
int j ;
B1();
virtual ~B1();
void show () ;
};
#endif // !defined(AFX_B1_H__C571C92C_CF29_4B92_8C27_70306C5BBE1E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?