d0.h

来自「虚基类中指针的使用 这是教您使用C中的虚基类中指针的使用的使示例代码」· C头文件 代码 · 共 25 行

H
25
字号
// D0.h: interface for the D0 class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_D0_H__2DB13321_F962_4284_85F3_5E5088DE9725__INCLUDED_)
#define AFX_D0_H__2DB13321_F962_4284_85F3_5E5088DE9725__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "B1.h"

class D0 : public B1  
{
public:
	int k ;
	D0();
	virtual ~D0();
	void show() ;

};

#endif // !defined(AFX_D0_H__2DB13321_F962_4284_85F3_5E5088DE9725__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?