📄 shape.h
字号:
// Shape.h: interface for the Shape class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SHAPE_H__3D9F2790_E309_44B3_A908_0E56D905ACE6__INCLUDED_)
#define AFX_SHAPE_H__3D9F2790_E309_44B3_A908_0E56D905ACE6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <iostream.h>
class Shape
{
public:
Shape(){ Draw(); }
virtual ~Shape(){ Erase(); }
void Draw(){ cout << "\nBase::Draw()\n"; }
void Erase(){ cout << "Base::Erase()\n\n"; }
};
#endif // !defined(AFX_SHAPE_H__3D9F2790_E309_44B3_A908_0E56D905ACE6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -