pentagon_hexagon.h

来自「Linux下C++ plugin的实现技术和Helper」· C头文件 代码 · 共 26 行

H
26
字号
/* pentagon_hexagon.h */

#ifndef __PENTAGON_HEXAGON_H__
#define __PENTAGON_HEXAGON_H__

#include "polygon.h"
#include <iostream>

class CPentagon : public CPolygon
{
public:
	
	virtual double area(void) const;
	
};

class CHexagon : public CPolygon
{
public:
	
	virtual double area(void) const;
	
};

#endif /* __PENTAGON_HEXAGON_H__ */

⌨️ 快捷键说明

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