pentagon_hexagon.h
来自「linux下C++实现插件技术,详情请见http://masterdog.bok」· 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 + -
显示快捷键?