📄 custtype.h
字号:
#ifndef H_custType
#define H_custType
#include "myString.h"
#include <iostream.h>
#include "videoListType.h"
class custType
{
friend ostream& operator<<(ostream &,const custType &);
public:
void setCustInfo(newString custAcctNo,newString firstName, newString lastName,
newString video1,newString video2,newString video3); //设置顾客信息
void printcustInfo(); //打印顾客信息
void rentVideo(newString title/*,videoListType& videolist*/); //租碟
void backVideo(newString title);
bool checkcustAcctNo(newString id);
bool CustVideo(newString title); //判断此碟是否曾经租给此顾客
custType();
newString custAcctNo;
newString firstName;
newString lastName;
newString video1;
newString video2;
newString video3;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -