📄 businfo1.h
字号:
#pragma once
// CBusInfo 命令目标
class CBusInfo : public CObject
{
DECLARE_SERIAL(CBusInfo);
private:
CString m_strBusID; //班次号、
CTime m_StartTime; //发车时间
CString m_Destination; //终点城市、
int m_nSeat; //座位数量
int m_nSeatSaled; //已售数量
float m_fPrice; //票价
public:
CBusInfo(); //默认构造函数
CBusInfo(CString strBusID,
CTime StartTime,
CString Destination,
int nSeat,
int nSeatSaled,
float fPrice); //构造函数
CBusInfo(CBusInfo & obj); //复制构造函数
virtual ~CBusInfo();
void Serialize(CArchive& ar);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -