📄 dish.h
字号:
// Dish.h: interface for the Dish class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DISH_H__185FD954_AE36_417F_9627_E40DAF12E67B__INCLUDED_)
#define AFX_DISH_H__185FD954_AE36_417F_9627_E40DAF12E67B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Dish
{
public:
Dish();
virtual~Dish();
CString GetName();
void SetName(CString Name1);
int GetPrice();
void SetPrice(int Price1);
int GetQuantity();
void SetQuantity(int Quantity1);
private:
CString name;
int price;
int quantity;
};
#endif // !defined(AFX_DISH_H__185FD954_AE36_417F_9627_E40DAF12E67B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -