circle.h
来自「dll的一些学习资料」· C头文件 代码 · 共 27 行
H
27 行
// circul.h: interface for the circul class.
//
//////////////////////////////////////////////////////////////////////
#ifndef CIRCLE_H
#define CIRCLE_H
#include "point.h"
#ifdef DLL_FILE
class _declspec(dllexport) circle //导出类circle
#else
class _declspec(dllimport) circle //导入类circle
#endif
{
public:
void SetCentre(const point ¢rePoint);
void SetRadius(float r);
float GetGirth();
float GetArea();
circle();
private:
float radius;
point centre;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?